ical-generator is vulnerable to iCalendar (ICS) Injection
59
Medium Risk
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.
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.
ical-generator is vulnerable to iCalendar (ICS) Injection in versions 3.4.0 - 11.0.0.
Upgrade the ical-generator library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant