CVE-2025-31679 Ignition Error Pages - Critical - Cross Site Scripting - SA-CONTRIB-2025-007
Attackers can inject malicious scripts into Drupal error pages, potentially stealing user sessions or executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-31679?
CVE-2025-31679 is a medium-severity cross-site scripting vulnerability in Drupal Ignition Error Pages, published on 31 Mar 2025. An attacker can exploit it over the internet without logging in, 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 Ignition Error Pages allows Cross-Site Scripting (XSS).This issue affects Ignition Error Pages: from 0.0.0 before 1.0.4.
Weakness: CWE-79
Which versions are affected by CVE-2025-31679?
2 open source packages ship an affected version, including drupal/ignition. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
drupal/ignition Packagist | All versions | 1.0.4 |
drupal/ignition Packagist | All versions | 1.0.4 |
Linux distribution packages (1)
drupal/ignition Packagist:https://packages.drupal.org/8 | All versions | 1.0.4 |
Products include Ignition Error Pages Project Ignition Error Pages.
How do I fix CVE-2025-31679?
Upgrade drupal/ignition to 1.0.4 or later.
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-2025-31679 being exploited?
There is no known exploitation of CVE-2025-31679 in the wild and no public exploit code.
Sources
Also known as DRUPAL-CONTRIB-2025-007, GHSA-rhxm-r44m-4325.