CVE-2025-70948
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-70948 is a critical-severity Improper Neutralization of HTTP Headers for Scripting Syntax (CWE-644) vulnerability in Npmjs (inferred from references). Its CVSS base score is 9.3 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked at the 35th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2025-70948 is a host header injection vulnerability in the mailer component of the @perfood/couch-auth package version 0.26.0. This flaw enables attackers to spoof the HTTP Host header, allowing them to obtain password reset tokens. The vulnerability is classified under CWE-644 (Improper Neutralization of HTTP Headers for Scripting Syntax) and carries a CVSS v3.1 base score of 9.3 (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N), indicating critical severity due to its network accessibility, low attack complexity, lack of required privileges, and potential for high confidentiality and integrity impacts with changed scope.
Attackers can exploit this vulnerability remotely without authentication by manipulating the Host header during interactions with the affected mailer component, typically in password reset workflows. Exploitation requires user interaction, such as a victim clicking a crafted link or engaging with a spoofed email. Successful attacks allow retrieval of reset tokens, enabling full account takeover on targeted systems using the vulnerable Couch-auth implementation.
For mitigation details, security practitioners should review the referenced advisories and resources, including the GitHub repository at https://github.com/perfood/couch-auth, the npm package page at https://www.npmjs.com/package/@perfood/couch-auth, and the detailed disclosure gist at https://gist.github.com/0xHunterr/38aab644874ca9f4646524c5b01cfe5e, which may provide patch information, version updates, or workaround guidance. The CVE was published on 2026-03-05.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-208327
Vulnerability Data
A host header injection vulnerability in the mailer component of @perfood/couch-auth v0.26.0 allows attackers to obtain reset tokens and execute an account takeover via spoofing the HTTP Host header.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V4.2.3
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Input validation directly requires checking/neutralizing untrusted data such as HTTP headers before they reach browser components.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require proper output encoding and header sanitization to prevent scripting injection.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing catches header-injection issues before release, covering most of the weakness.
Training developers about output encoding and HTTP header handling reduces some instances of this implementation defect, but the weakness is a specific technical detail in code that even trained developers miss; the effect is a minority one, consistent with A.6.3 -> CWE-598 and A.8.28 -> CWE-79 at the same rung.
Secure coding standards require proper escaping or rejection of scripting syntax in HTTP headers.
A.8.30 carries its effect through the secure-coding and testing practices (8.25–8.29) its contract requires of the supplier, which reduce ordinary implementation defects like unneutralized HTTP header content the way those practices do, but the clause's mechanism is contractual and human-practice-dependent, so it moves a minority of instances — the same reading the owner applied to A.8.30 vs CWE-134.
A.8.8's reach is disclosure-based (published advisories, vendor CVEs) plus penetration testing of deployed systems; CWE-644 is a first-party implementation flaw in HTTP header neutralization, so A.8.8 finds it where it surfaces as a CVE (e.g., CVE-2006-3918) or where a penetration test happens to exercise the header-injection path, but the bulk of latent instances in custom code are never published and are outside A.8.8's source-reading reach (which belongs to A.8.29).