{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-42040","published":"2026-04-24T18:16:30.960000Z","last_modified":"2026-11-11T23:10:00.263000Z","status":"Analyzed","cvss":{"version":"3.1","score":3.7,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-116","CWE-626"],"cpes":[{"criteria":"cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*","part":"a","vendor":"axios","product":"axios","version_end_excluding":"0.31.1"},{"criteria":"cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*","part":"a","vendor":"axios","product":"axios","version_start_including":"1.0.0","version_end_excluding":"1.15.1"}],"cpes_truncated":false,"vendors":["axios"],"products":["axios/axios"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xhjh-pmcv-23jw","ecosystem":"npm","name":"axios","purl":"pkg:npm/axios","ranges":[{"introduced":"1.0.0","fixed":"1.15.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-xhjh-pmcv-23jw","ecosystem":"npm","name":"axios","purl":"pkg:npm/axios","ranges":[{"introduced":"0","fixed":"0.31.1"}],"versions":[],"versions_truncated":false}],"severity":"low","priority_score":37,"links":{"html_es":"/es/cve/CVE-2026-42040/","html_en":"/en/cve/CVE-2026-42040/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42040","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42040"},"untrusted":{"vendor_name":"Axios","product_name":"Axios","desc_en":"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-encoding of null bytes. After encodeURIComponent('\\x00') correctly produces the safe sequence %00, the charMap entry '%00': '\\x00' converts it back to a raw null byte. Primary impact is limited because the standard axios request flow is not affected. This vulnerability is fixed in 1.15.1 and 0.31.1.","affected":[{"untrusted_vendor":"axios","untrusted_product":"axios","versions":[]}],"references":[{"url":"https://github.com/axios/axios/security/advisories/GHSA-xhjh-pmcv-23jw","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}