{"id":"CVE-2022-24838","aliases":["CVE-2022-24838"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in Appointment Emails for Nextcloud Calendar","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Nextcloud Calendar es una aplicación de calendario para el framework nextcloud. Una Inyección de Comandos SMTP en Correos Electrónicos de Citas por medio de Newlines: como las nuevas líneas y los caracteres especiales no son saneados en el valor del correo electrónico en la petición JSON, un atacante malicioso puede inyectar nuevas líneas para salirse del comando SMTP \"RCPT TO:(BOOKING USER'S EMAIL)\" y comenzar a inyectar comandos SMTP arbitrarios. Es recomendado actualizar Calendar a la versión 3.2.2. No se presenta ninguna medida de mitigación disponible","source":"nvd"}],"published":"2022-04-11T20:25:13.000Z","modified":"2026-06-17T04:32:37.870Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"< 3.2.2","status":"affected"}],"vendor":"nextcloud","product":"security-advisories","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.2.2"}],"vendor":"nextcloud","product":"calendar","cpe":"cpe:2.3:a:nextcloud:calendar:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-8xv5-4855-24qf","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nextcloud/calendar/pull/4073","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nextcloud/calendar/commit/7b70edfb8a0fcf0926f613ababcbd56c6ecd9f35","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:55:47.473Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24838","url":"https://www.cve.org/CVERecord?id=CVE-2022-24838","licence":"CVE Terms of Use","modified":"2025-04-23T18:40:43.255Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24838","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24838","licence":"Public domain","modified":"2026-06-17T04:32:37.870Z"}],"updatedAt":"2026-11-25T22:58:10.545Z","epss":{"score":0.3302,"percentile":0.9839,"date":"2026-12-01T12:00:22.000Z"}}