Skip to content

fix: upgrade on-headers to 1.1.0 - Address CVE-2025-7339#15

Merged
galanko merged 1 commit into
masterfrom
opensec/fix/on-headers-cve-2025-7339
May 15, 2026
Merged

fix: upgrade on-headers to 1.1.0 - Address CVE-2025-7339#15
galanko merged 1 commit into
masterfrom
opensec/fix/on-headers-cve-2025-7339

Conversation

@galanko
Copy link
Copy Markdown

@galanko galanko commented May 15, 2026

Summary

Automated remediation for CVE-2025-7339: on-headers vulnerable to http response header manipulation

Changes

  • Upgraded on-headers from 1.0.1 to 1.1.0 in package.json
  • Updated package-lock.json with the new dependency version

Details

The on-headers package version 1.0.1 contains a vulnerability (CVE-2025-7339) that can result in response headers being inadvertently modified when an array is passed to response.writeHead(). Version 1.1.0 includes a fix for this issue.

This is a safe minor version bump with no breaking changes or required code modifications. The vulnerability is automatically patched by upgrading the dependency.

Testing

No code changes required. The application should continue to work as expected with the upgraded dependency.


Generated by OpenSec remediation agent

This patch updates the on-headers dependency to version 1.1.0, which includes
a critical security fix for response header manipulation vulnerability when
an array is passed to response.writeHead().

CVE-2025-7339: on-headers vulnerable to http response header manipulation

No code changes required; this is a safe minor version upgrade that only
includes bug fixes and security patches.
@galanko galanko marked this pull request as ready for review May 15, 2026 12:37
@galanko galanko merged commit 7212ece into master May 15, 2026
@galanko galanko deleted the opensec/fix/on-headers-cve-2025-7339 branch May 15, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant