Cross-site Scripting (XSS) Affecting node-rollup package, versions <3.29.5-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.74% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-NODEROLLUP-8082966
  • published24 Sept 2024
  • disclosed23 Sept 2024

Introduced: 23 Sep 2024

CVE-2024-47068  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:13 node-rollup to version 3.29.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-rollup package and not the node-rollup package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

Rollup is a module bundler for JavaScript. Versions prior to 2.79.2, 3.29.5, and 4.22.4 are susceptible to a DOM Clobbering vulnerability when bundling scripts with properties from import.meta (e.g., import.meta.url) in cjs/umd/iife format. The DOM Clobbering gadget can lead to cross-site scripting (XSS) in web pages where scriptless attacker-controlled HTML elements (e.g., an img tag with an unsanitized name attribute) are present. Versions 2.79.2, 3.29.5, and 4.22.4 contain a patch for the vulnerability.

CVSS Base Scores

version 3.1