CVE-2024-27729
Description
Stored XSS in Friendica 2023.12 calendar event location parameter allows attackers to steal session cookies or password hashes.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in Friendica 2023.12 calendar event location parameter allows attackers to steal session cookies or password hashes.
Vulnerability
A stored cross-site scripting (XSS) vulnerability exists in Friendica version 2023.12 within the calendar event feature. The location parameter of event creation is not sanitized or escaped before being displayed in users' feeds. This allows an attacker to inject arbitrary JavaScript code that executes in the browsers of any user who views the event in their feed [1].
Exploitation
An attacker must be an authenticated user on the Friendica instance to create a calendar event. By setting the location parameter to a malicious script (e.g., `), the payload is stored and later rendered in the feeds of followers. No additional user interaction is required beyond viewing the event [1]. The attacker can combine this with a CSRF request to target specific users, though the primary session cookie (PHPSESSID) is set with the HttpOnly` flag, limiting direct cookie theft [1].
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's session. This can be used to steal sensitive information such as session cookies (if HttpOnly is not enforced) or password hashes, potentially leading to account takeover. The attacker can target any user who views the malicious event, including administrators [1].
Mitigation
The vulnerability was fixed in pull request #13927, merged on February 21, 2024 [2]. Users should update Friendica to a version that includes this fix. No official workaround has been provided, and the issue is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog as of the publication date.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
2News mentions
0No linked articles in our index yet.