CVE-2025-3901 Bootstrap Site Alert - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-042

Medium 6.1 Published Updated

An attacker can inject malicious scripts into web pages viewed by other users via the Bootstrap Site Alert module, potentially leading to session hijacking or site defacement.

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-3901?

CVE-2025-3901 is a medium-severity cross-site scripting vulnerability in Drupal Bootstrap Site Alert, published on 23 Apr 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 Bootstrap Site Alert allows Cross-Site Scripting (XSS).This issue affects Bootstrap Site Alert: from 0.0.0 before 1.13.0, from 3.0.0 before 3.0.4.

Weakness: CWE-79

Which versions are affected by CVE-2025-3901?

It affects 1 product.

Linux distribution packages (1)
drupal/bootstrap_site_alert Packagist:https://packages.drupal.org/8All versions1.13.0, 3.0.4

Products include Bootstrap Site Alert Project Bootstrap Site Alert.

How do I fix CVE-2025-3901?

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-2025-3901 being exploited?

There is no known exploitation of CVE-2025-3901 in the wild and no public exploit code.

Sources

Also known as CLSA-2026-1788968317, DRUPAL-CONTRIB-2025-042, GHSA-777m-jvh5-prpj.

Is CVE-2025-3901 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free