# CVE-2026-33635: iCalendar has ICS injection via unsanitized URI property values

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-24T19:13:41.000Z
- Modified: 2026-06-17T10:37:49.343Z
- Also known as: GHSA-pv9c-9mfh-hvxq
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

iCalendar is a Ruby library for dealing with iCalendar files in the iCalendar format defined by RFC-5545. Starting in version 2.0.0 and prior to version 2.12.2, .ics serialization does not properly sanitize URI property values, enabling ICS injection through attacker-controlled input, adding arbitrary calendar lines to the output. `Icalendar::Values::Uri` falls back to the raw input string when `URI.parse` fails and later serializes it with `value.to_s` without removing or escaping `\r` or `\n` characters. That value is embedded directly into the final ICS line by the normal serializer, so a payload containing CRLF can terminate the original property and create a new ICS property or component. (It looks like you can inject via url, source, image, organizer, attach, attendee, conference, tzurl because of this). Applications that generate `.ics` files from partially untrusted metadata are impacted. As a result, downstream calendar clients or importers may process attacker-supplied content as if it were legitimate event data, such as added attendees, modified URLs, alarms, or other calendar fields. Version 2.12.2 contains a patch for the issue.

(As written by CVE List.)

## Affected

- icalendar icalendar: >= 2.0.0, < 2.12.2
- icalendar (RubyGems): from 2.0.0 before 2.12.2
- icalendar_project icalendar: from 2.0.0 before 2.12.2

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/icalendar/icalendar/security/advisories/GHSA-pv9c-9mfh-hvxq> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/icalendar/icalendar/commit/b8d23b490363ee5fffaec1d269a8618a912ca265> (patch, web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/icalendar/CVE-2026-33635.yml> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33635> (advisory)
- <https://github.com/icalendar/icalendar> (package)

## Sources

- CVE List: [CVE-2026-33635](https://www.cve.org/CVERecord?id=CVE-2026-33635), CVE Terms of Use, modified 2026-03-30
- GitHub Advisory Database: [GHSA-pv9c-9mfh-hvxq](https://github.com/advisories/GHSA-pv9c-9mfh-hvxq), CC-BY-4.0, modified 2026-03-27
- NVD: [CVE-2026-33635](https://nvd.nist.gov/vuln/detail/CVE-2026-33635), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33635 · Whole record: https://cve.day/CVE-2026-33635.json · Rebuilt by cve.day 2026-11-25T22:59:17.163Z
