Intel

AIKIDO-2026-357702

ical-generator is vulnerable to iCalendar (ICS) Injection

iCalendar (ICS) Injection Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 5 days ago

59

Medium Risk

This Affects:

JSical-generator
3.4.0 - 11.0.0
Fixed in 11.1.0
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

ical-generator is vulnerable to iCalendar (ICS) Injection in versions 3.4.0 - 11.0.0.

How to fix this

Upgrade the ical-generator library to the patch version.