Back to list

Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS) — GHSA-C29M-XWM3-CM6R

GitHub · GitHub · GHSA-C29M-XWM3-CM6R

ID
GHSA-C29M-XWM3-CM6R
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
8.2
EPSS
0.00382

Summary

## Summary Axios for Node.js parses `data:` URLs in `lib/helpers/fromDataURI.js`. The current RFC-2397 parser uses a regular expression whose media type groups allow `/` inside both sides of the `type/subtype` match. A malformed `data:` URL containing many slashes and no comma forces the JavaScript regex engine to try many possible placements for the separator before failing. Applications are affected when they…

Timeline

Published by source
2026-09-30

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 8.2 out of 10.
  • Reported EPSS value: 0.00382.
  • Review exposure for the affected product or family: npm: axios.

Product

npm: axios

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-C29M-XWM3-CM6R
Source
GitHub
Vendor
GitHub
Published by source
2026-09-30
Last source activity
2026-09-30
Additional identifiers
CVE-2026-101903
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.