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.
Severity (CVSS)
| Base score | 4.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
| Provided by | CNA |
Weaknesses
- CWE-1321 — CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| digitalbazaar | forge | < 1.4.1 [affected] |
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-6wvx-3r32-xmcg (x_refsource_CONFIRM)
- https://github.com/digitalbazaar/forge/commit/797c3f816a22748a96fceebb34eb3a6716853991 (x_refsource_MISC)
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 30 Oct 2026 07:06 UTC.