Security Resilience

CVE-2025-70948

Published
05 March 2026
Modified
27 April 2026
CVSS Score v3.1 9.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
EPSS Score 0.0040 35th percentile
Risk Priority 65 floored blend · peak EPSS

CVSS 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

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

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-36223Shared CWE-644
CVE-2026-21762Shared CWE-644
CVE-2025-27901Shared CWE-644
CVE-2025-64425Shared CWE-644
CVE-2025-13213Shared CWE-644
CVE-2025-64484Shared CWE-644
CVE-2025-66485Shared CWE-644
CVE-2025-27632Shared CWE-644
CVE-2025-36227Shared CWE-644
CVE-2026-4096Shared CWE-644

Affected Assets

Npmjs
—
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • 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.

PR.PS-06 mostly match
blocks

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.

finds

Security testing catches header-injection issues before release, covering most of the weakness.

prevents

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.

prevents

Secure coding standards require proper escaping or rejection of scripting syntax in HTTP headers.

prevents

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.

finds

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).

References