CVE Explorer
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-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 vulnerab
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d1ac1708b98f9b5a8e3318ab8049439474d5cf44fc41c3fa26b5480545b5fe0 · sha256:804c2cfe758de6e3… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-626","description":"CWE-626: Null Byte Interaction Error (Poison Null Byte)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d1ac1708b98f9b5a8e3318ab8049439474d5cf44fc41c3fa26b5480545b5fe0 · sha256:804c2cfe758de6e3… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"axios","vendor":"axios","versions":[{"status":"affected","version":">= 1.0.0, < 1.15.1"},{"status":"affected","version":"< 0.31.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6d1ac1708b98f9b5a8e3318ab8049439474d5cf44fc41c3fa26b5480545b5fe0 · sha256:804c2cfe758de6e3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6d1ac1708b98f9b5a8e3318ab8049439474d5cf44fc41c3fa26b5480545b5fe0 · sha256:804c2cfe758de6e3… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d1ac1708b98f9b5a8e3318ab8049439474d5cf44fc41c3fa26b5480545b5fe0 · sha256:804c2cfe758de6e3… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-626","description":"CWE-626: Null Byte Interaction Error (Poison Null Byte)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d1ac1708b98f9b5a8e3318ab8049439474d5cf44fc41c3fa26b5480545b5fe0 · sha256:804c2cfe758de6e3… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/axios/axios/security/advisories/GHSA-xhjh-pmcv-23jw","tags":["x_refsource_CONFIRM"],"url":"https://github.com/axios/axios/security/advisories/GHSA-xhjh-pmcv-23jw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6d1ac1708b98f9b5a8e3318ab8049439474d5cf44fc41c3fa26b5480545b5fe0 · sha256:804c2cfe758de6e3… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/axios/axios/security/advisories/GHSA-xhjh-pmcv-23jw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6d1ac1708b98f9b5a8e3318ab8049439474d5cf44fc41c3fa26b5480545b5fe0 · sha256:804c2cfe758de6e3… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.