CVE-2026-42042 — Axios is a promise based HTTP client for the browser and

CVE-2026-42042 — Axios is a promise based HTTP client for the browser and

CVE-2026-42042 — 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

What This Means For You

  • If your environment is affected by CWE-183, CWE-201, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-42042 updates and patches.
🛡️ Am I exposed to this? Get detection rules for CVE-2026-42042 — Splunk, Sentinel, Elastic, QRadar & more

Related ATT&CK Techniques

🛡️ Detection Rules

3 rules · 6 SIEM formats

3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.

medium T1190 Initial Access

Potential XSRF Token Leakage via Axios Misconfiguration — CVE-2026-42042

Sigma YAML — free preview
title: Potential XSRF Token Leakage via Axios Misconfiguration — CVE-2026-42042
id: scw-2026-04-24-ai-1
status: experimental
level: medium
description: |
  This rule detects potential exploitation of CVE-2026-42042. The vulnerability occurs when the Axios library's XSRF token protection is bypassed due to non-strict boolean comparison for the 'withXSRFToken' configuration property. This can lead to XSRF tokens being sent to unintended cross-origin servers. This detection looks for the presence of 'withXSRFToken' in the URI query, which is a strong indicator of the vulnerable configuration being triggered.
author: SCW Feed Engine (AI-generated)
date: 2026-04-24
references:
  - https://shimiscyberworld.com/posts/nvd-CVE-2026-42042/
tags:
  - attack.initial_access
  - attack.t1190
logsource:
    category: webserver
detection:
  selection:
      cs-uri-query|contains:
          - 'withXSRFToken'
      condition: selection
falsepositives:
  - Legitimate administrative activity

Source: Shimi's Cyber World · License & reuse

✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Get rules for your SIEM →

Indicators of Compromise

IDTypeIndicator
CVE-2026-42042 vulnerability CVE-2026-42042
CWE-183 weakness CWE-183
CWE-201 weakness CWE-201
Source & Attribution
Source PlatformNVD
ChannelNational Vulnerability Database
PublishedApril 24, 2026 at 21:16 UTC

This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.

Believe this infringes your rights? Submit a takedown request.

Related Posts

Featured

Daily Security Digest — 2026-04-24

12 vulnerability disclosures (3 Critical, 9 High) and 3 curated intelligence stories from 2 sources.

daily-digestvulnerabilityCVEhigh-severitycwe-1321cwe-113cwe-183cwe-441cwe-918critical
/SCW Daily Digest /CRITICAL

Dgraph CVE-2026-41492: Unauthenticated Admin Token Exposure Via /debug/vars

CVE-2026-41492 — Dgraph is an open source distributed GraphQL database. Prior to 25.3.3, Dgraphl exposes the process command line through the unauthenticated /debug/vars endpoint on...

vulnerabilityCVEcriticalhigh-severitycwe-200
/SCW Vulnerability Desk /CRITICAL /9.8 /⚑ 3 IOCs /⚙ 3 Sigma

CVE-2026-41421: SiYuan Desktop RCE via HTML Notification Abuse

CVE-2026-41421 — SiYuan is an open-source personal knowledge management system. Prior to 3.6.5, SiYuan desktop renders notification messages as raw HTML inside an Electron renderer....

vulnerabilityCVEhigh-severitycode-executioncwe-78cwe-79
/SCW Vulnerability Desk /HIGH /8.8 /⚑ 4 IOCs /⚙ 3 Sigma