CVE-2025-1647: Bootstrap Vulnerable to Cross-Site Scripting in its Popover and Tooltip Components

CVE-2025-1647 · Severity: medium · CVSS 5.6 · Published 2025-05-15

Bootstrap is a widely-used open-source framework for building responsive web applications. A cross-site scripting (XSS) vulnerability in its Popover and Tooltip components allows attackers to inject malicious scripts that execute in users' browsers, potentially leading to credential theft, session hijacking, or unauthorized actions performed on behalf of the user.

Technologies: bootstrap (npm). Vendors: npm.

Quick answers

Is CVE-2025-1647 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-1647 being exploited in the wild.
How severe is CVE-2025-1647?
Medium severity, with a CVSS score of 5.6, published 15 May 2025.
Which products and versions are affected?
bootstrap (npm) = 3.4.1.
Is there a fix for CVE-2025-1647?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2025-1647 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2025-1647?
Check whether you run bootstrap (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is an improper neutralization of input during web page generation (CWE-79) in Bootstrap's Popover and Tooltip components. The affected version is 3.4.1, where user-supplied input is not properly sanitized before being rendered in these UI components. An attacker can craft malicious HTML or JavaScript payloads that are included in Popover or Tooltip content and executed when a user interacts with the affected component. The attack requires user interaction (hovering over or triggering the popover/tooltip) but does not require authentication. At the time of publication, no patched version was publicly available.

Affected products

  • Bootstrap Bootstrap 3.4.1

Identifiers

  • CVE-2025-1647
  • GHSA-q58r-hwc8-rm9j

Timeline

  • 2025-05-15: disclosed
  • other: No publicly available patched version at time of publication

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.