CVE-2025-1647 XSS in Bootstrap title attribute for Tooltip and Popover

Medium 5.6 Published Updated

An attacker can execute arbitrary scripts in a victim's browser via malicious input in Bootstrap Tooltip or Popover title attributes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-1647?

CVE-2025-1647 is a medium-severity cross-site scripting vulnerability in Bootstrap, published on 15 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Bootstrap allows Cross-Site Scripting (XSS).This issue affects Bootstrap: from 3.4.1 before 4.0.0.

Weakness: CWE-79

Which versions are affected by CVE-2025-1647?

2 open source packages ship an affected version, including bootstrap.

PackageAffectedFixed in
bootstrap npmAll versionsNone
bootstrap npmAll versionsNone

How do I fix CVE-2025-1647?

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-1647 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-1647 exists.

Sources

Also known as DEBIAN-CVE-2025-1647, DLA-4204-1, GHSA-q58r-hwc8-rm9j, ROOT-APP-NPM-CVE-2025-1647, UBUNTU-CVE-2025-1647.

Is CVE-2025-1647 in your software?

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

Check your SBOMs for free