Skip to content
OpenAdvisories

Description

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 products

VendorProductAffectedFixed
axios axios >= 1.0.0, < 1.15.1, < 0.31.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-axios 1.15.2-1 —
Debian 13 node-axios No fix yet —
Debian 12 node-axios No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-axios No fix yet —
Ubuntu 25.10 node-axios No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS node-axios No fix yet —
Ubuntu Pro 24.04 LTS node-axios No fix yet —
Ubuntu Pro 22.04 LTS node-axios No fix yet —
Ubuntu Pro 20.04 LTS node-axios No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jitsucom-jitsu-console 2.11.0-r22 —
Wolfi rolling katib-earlystopping +8 0.19.0-r31 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —
Wolfi rolling kubeflow-centraldashboard 1.10.0-r21 —
Wolfi rolling langfuse-3 +1 3.174.1-r0 —
Wolfi rolling lerna 9.0.7-r4 —
Wolfi rolling nextcloud-server-33 33.0.6-r0 —
Wolfi rolling opensearch-dashboards-3 3.6.0-r3 —
Wolfi rolling prism 5.15.10-r0 —
Wolfi rolling saf 1.6.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm axios >= 1.0.0, < 1.15.1 1.15.1 GHSA-xhjh-pmcv-23jw
npm axios < 0.31.1 0.31.1 GHSA-xhjh-pmcv-23jw

Advisories 2

References