ical-generator is vulnerable to iCalendar (ICS) Injection
59
CVE Score
Medium
iCalendar (ICS) Injection
The ICalAttendee serializer writes the sentBy value into the quoted SENT-BY attendee parameter (;SENT-BY="mailto:...") without escaping it. When an application passes attacker-influenced data into an attendee's sentBy, an embedded double quote can break out of the quoted parameter and a newline can start a new content line, injecting arbitrary iCal parameters or properties. Before the fix the value was embedded raw, enabling iCalendar (ICS) injection into the generated .ics output that is later parsed by downstream calendar clients. The fix escapes the value using the quoted-parameter escaping routine before serialization.
Upgrade the ical-generator library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted input into an attendee's sentBy value.
3.4.0 - 11.0.0
Fixed in 11.1.0ical-generator is vulnerable to iCalendar (ICS) Injection in versions 3.4.0 - 11.0.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.