Back to list

Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie — GHSA-6WVX-3R32-XMCG

GitHub · GitHub · GHSA-6WVX-3R32-XMCG

ID
GHSA-6WVX-3R32-XMCG
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
4.8
EPSS
0.00255

Summary

### Summary The `forge.http` client stored cookies from `Set-Cookie` response headers in a plain object keyed by cookie name and path. A malicious server could use the cookie name `__proto__` to add properties to `Object.prototype`, use inherited names such as `constructor` to add properties to `Object`, and send an empty cookie value to delete `Object.prototype` properties. Fixed in node-forge 1.4.1. ### Details…

Timeline

Published by source
2026-10-30

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 4.8 out of 10.
  • Reported EPSS value: 0.00255.
  • Review exposure for the affected product or family: npm: node-forge.

Product

npm: node-forge

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-6WVX-3R32-XMCG
Source
GitHub
Vendor
GitHub
Published by source
2026-10-30
Last source activity
2026-10-30
Additional identifiers
CVE-2026-118777
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.