CVE-2025-7339

Source
https://cve.org/CVERecord?id=CVE-2025-7339
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7339.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-7339
Aliases
Downstream
Related
Published
2025-07-17T15:47:39.680Z
Modified
2026-07-16T03:48:08.000804697Z
Severity
  • 3.4 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
on-headers vulnerable to http response header manipulation
Details

on-headers is a node.js middleware for listening to when a response writes headers. A bug in on-headers versions <1.1.0 may result in response headers being inadvertently modified when an array is passed to response.writeHead(). Users should upgrade to version 1.1.0 to receive a patch. Uses are strongly encouraged to upgrade to 1.1.0, but this issue can be worked around by passing an object to response.writeHead() rather than an array.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7339.json",
    "cwe_ids": [
        "CWE-241"
    ],
    "cna_assigner": "openjs"
}
References

Affected packages

Git / github.com/expressjs/morgan

Affected ranges

Type
GIT
Repo
https://github.com/expressjs/morgan
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.1.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}
Type
GIT
Repo
https://github.com/jshttp/on-headers
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

1.*
1.0.0
1.0.1
v0.*
v0.0.0
v1.*
v1.0.0
v1.0.1
v1.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7339.json"