DEBIAN-CVE-2026-42042

Source
https://security-tracker.debian.org/tracker/CVE-2026-42042
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42042.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-42042
Upstream
Published
2026-04-24T18:16:31Z
Modified
2026-09-01T16:06:42Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the Axios library's XSRF token protection logic uses JavaScript truthy/falsy semantics instead of strict boolean comparison for the withXSRFToken config property. When this property is set to any truthy non-boolean value (via prototype pollution or misconfiguration), the same-origin check (isURLSameOrigin) is short-circuited, causing XSRF tokens to be sent to all request targets including cross-origin servers controlled by an attacker. This vulnerability is fixed in 1.15.1 and 0.31.1.

References

Affected packages

Debian:12 / node-axios

Package

Name
node-axios
Purl
pkg:deb/debian/node-axios?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.1+dfsg-1
1.2.1+dfsg-1+deb12u1
1.5.1+dfsg-1
1.6.2+dfsg-1
1.6.8+dfsg-1
1.6.8+dfsg-2
1.7.3+dfsg-1
1.7.4+dfsg-1
1.7.7+dfsg-1
1.7.9+dfsg-1
1.8.4+dfsg-1
1.11.0+dfsg-1
1.12.1+dfsg-1
1.13.1+dfsg-1
1.13.2+dfsg-1
1.14.0+dfsg-1
1.15.0-1
1.15.2-1
1.16.0-1
1.18.0-1
1.19.0-1
1.20.0-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42042.json"

Debian:13 / node-axios

Package

Name
node-axios
Purl
pkg:deb/debian/node-axios?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.8.4+dfsg-1
1.11.0+dfsg-1
1.12.1+dfsg-1
1.13.1+dfsg-1
1.13.2+dfsg-1
1.14.0+dfsg-1
1.15.0-1
1.15.2-1
1.16.0-1
1.18.0-1
1.19.0-1
1.20.0-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42042.json"

Debian:14 / node-axios

Package

Name
node-axios
Purl
pkg:deb/debian/node-axios?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.15.2-1

Affected versions

1.*
1.8.4+dfsg-1
1.11.0+dfsg-1
1.12.1+dfsg-1
1.13.1+dfsg-1
1.13.2+dfsg-1
1.14.0+dfsg-1
1.15.0-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42042.json"