Skip to content

source-map-js (npm)

Consume and generate source maps.

Advisories
2
Latest version
1.2.2
Released Sep 30, 2026
License
BSD-3-Clause
OpenSSF Scorecard
2.8 / 10

How to fix

Upgrading to 1.2.2 or later clears every advisory below that has a fix.

Upgrade commands
npm
npm install source-map-js@1.2.2
yarn
yarn add source-map-js@1.2.2
pnpm
pnpm add source-map-js@1.2.2

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-68fv-2mgg-jv7q
source-map-js allows event-loop denial of service through indexed source-map section offsets
High
EPSS 0.46%
>= 1.0.0, < 1.2.2
1.2.2
GHSA-68fv-2mgg-jv7q
source-map-js allows event-loop denial of service through indexed source-map section offsets
High
EPSS 0.46%
>= 1.0.0, < 1.2.2
1.2.2

Source: git+https://github.com/7rulnik/source-map-js.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor