Mickhansen dottie.js
Dottie vulnerable to prototype pollution bypass via non-first path segments in set() and transform()
Dottie provides nested object access and manipulation in JavaScript. Versions 2.0.4 through 2.0.6 contain an incomplete fix for CVE-2023-26132. The prototype pollution guard introduced in commit `7d3aee1` only validates the first segment of a dot-separated path, allowing an attacker to bypass the protection by placing `__proto__` at any position other than the first. Both `dottie.set()` and `dottie.transform()` are affected. Version 2.0.7 contains an updated fix to address the residual vulnerability.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by NVD · CWE-1321
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
mickhansen dottie.js
- >= 2.0.4, < 2.0.7
Fixed in 2.0.7
Mitigation
Upgrade dottie.js to 2.0.7 or later.
References
- Vendor advisory github.com/mickhansen/dottie.js/security/advis…
- Patch github.com/mickhansen/dottie.js/commit/7e8fa13…
- Vendor advisory github.com/advisories/GHSA-4gxf-g5gf-22h4
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.