CVE Database›CVE-2025-7339

CVE-2025-7339

on-headers: on-headers vulnerable to http response header manipulation

Loading…

Severity

Low

Red Hat Product Security

3.4

CVSS 3.1

Review impact separately from score.

Published · July 18, 2025

Updated · October 27, 2026

Description

A header modification flaw has been discovered in the on-headers npm library. In specific cases, response headers may be inadvertently modified when an array is passed to response.writeHead().

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Users may work around this issue by passing an object rather than an array to the response.writeHead() function.

CVSS / CWE

CVSS 3.1 · 3.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N

CWE-241 · Improper Handling of Unexpected Data Type