Vulnerability in Axios
CVE-2026-42040
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the encode() function in lib/helpers/AxiosURLSearchParams.js contains a character mapping (charMap) at line 21 that reverses the safe percent-enc…
EPSS: 0.001 (19.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.
Affected products
- Axios — versions >= 1.0.0, < 1.15.1, < 0.31.1
Weakness classification (CWE)
References
- https://github.com/axios/axios/security/advisories/GHSA-xhjh-pmcv-23jw (x_refsource_CONFIRM)
Frequently asked questions
- What is CVE-2026-42040?
- CVE-2026-42040 is a low-severity vulnerability in Axios, classified under Improper Encoding or Escaping of Output. CVSS score: 3.7/10. Published 2026-04-24.
- How severe is CVE-2026-42040?
- Low severity. CVSS v3 base score is 3.7 out of 10.