Skip to main content
← All vulnerabilities
CVE-2026-118777EUVD-2026-113335GHSA-6WVX-3R32-XMCG

Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Forge (node-forge), a JavaScript implementation of TLS and related cryptographic tools, is affected when applications use its forge.http or forge.xhr client. A malicious server can send crafted Set-Cookie headers that pollute JavaScript object prototypes, which could alter application behavior or delete inherited properties.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the forge.http client stored cookie names and paths from Set-Cookie response headers in ordinary JavaScript objects. A malicious server could use the cookie name proto so that the attacker-controlled cookie path was written as a property on Object.prototype, or use inherited names such as constructor to modify Object. An empty cookie value could use the removal path to delete an inherited Object.prototype property. Applications using forge.http directly or through forge.xhr are affected; applications that do not use forge.http are unaffected. This issue is fixed in version 1.4.1.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • digitalbazaar forge

    fixed in 1.4.1

References 3

GitHub · digitalbazaar/forge