CVE-2026-42042 - Vulnerability Analysis
MediumCVSS: 5.4Last Updated: April 27, 2026
Axios - Cross-Site Request Forgery
Published: April 24, 2026Updated: April 27, 2026PoC AvailableRemote Exploitable
Overview
Axios < 1.15.1 and < 0.31.1 contains a cross-site request forgery caused by improper truthy/falsy check of withXSRFToken config, letting attackers receive XSRF tokens on cross-origin requests, exploit requires attacker to control or misconfigure withXSRFToken property.
Severity & Score
Severity: Medium
CVSS Score: 5.4
Impact
Attackers can steal XSRF tokens by causing them to be sent to malicious cross-origin servers, enabling CSRF attacks.
Mitigation
Update to version 1.15.1 or 0.31.1 or later.
Related Resources
Details
- CVE ID
- CVE-2026-42042
- Severity
- Medium
- CVSS Score
- 5.4
- Type
- cross_site_request_forgery
- Status
- confirmed
CWE
- CWE-183
CVSS Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N