# CVE-2022-24838: Command Injection in Appointment Emails for Nextcloud Calendar

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-04-11 · Modified: 2025-04-23
- Record: https://cvemate.com/vulnerability/CVE-2022-24838 · JSON: https://cvemate.com/vulnerability/CVE-2022-24838/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 33.02%, percentile 98.399%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- nextcloud calendar: \< 3.2.2
- nextcloud security-advisories: \< 3.2.2

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-8xv5-4855-24qf>
- <https://github.com/nextcloud/calendar/pull/4073>
- <https://github.com/nextcloud/calendar/commit/7b70edfb8a0fcf0926f613ababcbd56c6ecd9f35>

---

Data as of 2026-12-05T04:38:46.832Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
