Packages / source-map-js / Security

HighVulnerabilityGHSA-68fv-2mgg-jv7qCVE-2026-93749Published 18 Sep 2026

source-map-js allows event-loop denial of service through indexed source-map section offsets

Your version

Affected releases · source-map-js

  • 1.x1.0.0 – 1.2.1Fixed in 1.2.2

On 1.x, the newest line:

npm install source-map-js@1.2.2
Every release on a timeline
  1. Not affected

    0.6.2

    1 release

  2. Affected

    1.0.0 – 1.2.1

    7 releases

  3. Fixed

    1.2.2 – 1.2.4

    3 releases, latest

11 stable releases of source-map-js, oldest to newest.

What happens

source-map-js through 1.2.1 fails to validate the per-section offset line value in indexed source maps, allowing attackers to specify arbitrary numeric values. Attackers can supply extremely large offset line values that cause synchronous event loop blocking for extended periods, preventing the service from handling other requests.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.