Vulnerability library
Security checkOctober 05, 2026

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmsource-map-js

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the source-map-js package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 1.0.0, < 1.2.2
  • Patched version(s): 1.2.2

References

Could your website be exposed too?

SmartScanner can check your website for source-map-js allows event-loop denial of service through indexed source-map section offsets and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 05, 2026