Bootstrap Site AlertDrupal extension · Bootstrap Site Alert Project

CVE-2025-3901

MEDIUM · 6.1 CVSS v3.1 Published 2025-04-23
Fix available
A fix is available. Upgrade to 1.13.0 / 3.0.4 or later.
See remediation →
68/100
Remediation priority · Elevated
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Drupal Bootstrap Site Alert module suffers from a Cross-Site Scripting (XSS) vulnerability due to improper input neutralization during web page generation. This allows attackers to inject malicious scripts that execute in the context of other users' browsers when viewing alerts displayed by the module. The vulnerability affects Bootstrap Site Alert versions 0.0.0 before 1.13.0 and 3.0.0 before 3.0.4.

MitigationUpdate the Bootstrap Site Alert module to version 1.13.0 or later for the 1.x line, or version 3.0.4 or later for the 3.x line. After updating, verify that site alerts function correctly and no XSS payloads persist in any configured alerts.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Bootstrap Site AlertDrupal extension
Affected:< 1.13.0>= 3.0.0, < 3.0.4>= 8.x-1.0, < 8.x-1.13

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Verify Bootstrap Site Alert module is installed
    In the Drupal admin dashboard, navigate to Extend (or /admin/modules) and look for 'Bootstrap Site Alert' in the list of installed modules. Alternatively, check for the presence of the module directory in /modules/contrib/bootstrap_site_alert
    Affected if The module is installed and enabled
  2. Determine the installed module version
    In Drupal admin, go to Extend > Bootstrap Site Alert and view the version number displayed. Alternatively, check the info.yml file in the module directory (MODULE_PATH/bootstrap_site_alert/bootstrap_site_alert.info.yml) for the 'version' field
    Affected if The version is less than 1.13.0, or between 3.0.0 and 3.0.3 inclusive, or corresponds to 8.x-1.x versions before 8.x-1.13
  3. Confirm alert display is enabled
    Navigate to the module configuration page (typically /admin/config/system/bootstrap-site-alert) and check if any alerts are configured and set to display. Look for the 'Enabled' or 'Display alert' setting
    Affected if Alerts are enabled and configured to display on the site
  4. Inspect configured alerts for malicious content
    Review all alert configurations in the module settings. Examine alert title, message, and any other text fields for script tags, javascript: URLs, event handlers (onload, onerror, onclick), or other XSS payloads
    Affected if Any alert field contains unsanitized script injection attempts
  5. Check site pages for unexpected alert behavior
    View the site homepage and other pages where alerts appear. Look for unexpected popups, script execution, or unusual browser behavior that may indicate active XSS exploitation
    Affected if Alerts are rendering and executing arbitrary JavaScript in the browser context

The environment is affected if the Bootstrap Site Alert module is installed with a version below 1.13.0 (1.x line) or below 3.0.4 (3.x line), and alerts are configured to display on the site.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.13.0 / 3.0.4 / 8.x-1.13 or later
Fixed in 1.13.03.0.48.x-1.13
Interim mitigation

Update the Bootstrap Site Alert module to version 1.13.0 or later for the 1.x line, or version 3.0.4 or later for the 3.x line. After updating, verify that site alerts function correctly and no XSS payloads persist in any configured alerts.

Recommended fix High confidence

Upgrade to Bootstrap Site Alert 1.13.0 (for 1.x branch), 3.0.4 (for 3.x branch), or 8.x-1.13 (for 8.x branch)

  1. 1. Identify the currently installed version of the Bootstrap Site Alert module in your Drupal site.
  2. 2. Determine which version branch you are using (1.x, 3.x, or 8.x) by checking your composer.json or the module's info.yml file.
  3. 3. If using Composer for Drupal module management, run: composer update drupal/bootstrap_site_alert --with-all-dependencies
  4. 4. Alternatively, download the appropriate fixed version from Drupal.org (1.13.0 for 1.x, 3.0.4 for 3.x, or 8.x-1.13 for 8.x) and upload via the Drupal admin UI at /admin/modules
  5. 5. Clear Drupal caches after upgrading: drush cr or via admin UI at /admin/config/development/performance
  6. 6. Verify the upgrade was successful by checking the module version at /admin/reports/status
Caveat Minor version updates in Drupal modules typically do not introduce breaking changes; however, always review the module's CHANGELOG.txt or release notes before upgrading.

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Bootstrap Site Alert Scoped from the published advisory
  • Consultation1.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
5.0 hours of engineering $860
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,376.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-3901 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-3901 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data