PT-2026-35051

CVE-2026-42042

·

Published

2026-04-24

·

Updated

2026-10-09

Description by

CVSS 3.1
5.4
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Axios versions prior to 0.31.1 Axios versions prior to 1.15.1
Description The 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, 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.
Recommendations Update to version 0.31.1 or later. Update to version 1.15.1 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-XX6V-RP6X-Q39C
CLEANSTART-2026-BE61221
CLEANSTART-2026-LC05413
CLEANSTART-2026-LN42574
ECHO-F974-2D2F-B5CF
Found an issue in the description? Have something to add? Feel free to write us 👾