Vulnerabilities · 2022 · Nextcloud
CVE-2022-24838
Nextcloud Calendar vulnerability
Nextcloud Calendar is a calendar application for the nextcloud framework. SMTP Command Injection in Appointment Emails via Newlines: as newlines and special characters are not sanitized in the email value in the JSON request, a malicious attacker can inject newlines to break out of the `RCPT TO:<BOOKING USER'S EMAIL> ` SMTP command and begin injecting arbitrary SMTP commands. It is recommended that Calendar is upgraded to 3.2.2. There are no workaround available.
Affected products
Calendar. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nextcloud Calendar runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nextcloud/calendar/commit/7b70edfb8a0fcf0926f613ababcbd56c6ecd9f35 · Patch
- github.com/nextcloud/calendar/pull/4073 · Patch
- github.com/nextcloud/security-advisories/security/advisories/GHSA-8xv5-4855-24qf · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-24838
- cve.org/CVERecord?id=CVE-2022-24838
More vulnerabilities in Nextcloud products
CVE-2025-66558CVE-2025-66557CVE-2025-66556CVE-2025-66554CVE-2025-66553CVE-2025-66552CVE-2025-66551CVE-2025-66550All 353
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.