CVE-2024-13247 Coffee - Moderately critical - Cross Site Scripting - SA-CONTRIB-2024-011
An attacker can inject malicious scripts into web pages viewed by other users via the Drupal Coffee module, potentially leading to session hijacking or data theft.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-13247?
CVE-2024-13247 is a medium-severity cross-site scripting vulnerability in Drupal Coffee, published on 9 Jan 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Coffee allows Cross-Site Scripting (XSS).This issue affects Coffee: from 0.0.0 before 1.4.0.
Weakness: CWE-79
Which versions are affected by CVE-2024-13247?
It affects 1 product.
Linux distribution packages (1)
drupal/coffee Packagist:https://packages.drupal.org/8 | All versions | 1.4.0 |
Products include Coffee Project Coffee.
How do I fix CVE-2024-13247?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-13247 being exploited?
There is no known exploitation of CVE-2024-13247 in the wild and no public exploit code.
Sources
Also known as CLSA-2026-1789633448, DRUPAL-CONTRIB-2024-011, GHSA-chpw-4vjg-cp92.