CVEvulnerability
CVE-2022-37616
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-10-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-1321
Description
A prototype pollution vulnerability exists in the function copy in dom.js in the xmldom (published as @xmldom/xmldom) package before 0.8.3 for Node.js via the p variable. NOTE: the vendor states "we are in the process of marking this report as invalid"; however, some third parties takes the position that "A prototype injection/Prototype pollution is not just when global objects are polluted with recursive merge or deep cloning but also when a target object is polluted."
Affected configurations
• xmldom project xmldom (<= 0.6.0)
• xmldom project xmldom (>= 0.7.0 < 0.7.6)
• xmldom project xmldom (>= 0.8.0 < 0.8.3)
• xmldom project xmldom 0.9.0
• debian debian linux 10.0
Related
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf Technical Description, Third Party Advisory
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769 Technical Description, Third Party Advisory
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769 Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1 Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3 Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436 Issue Tracking, Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826 Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560 Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00023.html Mailing List, Third Party Advisory
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf Technical Description, Third Party Advisory
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769 Technical Description, Third Party Advisory
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769 Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1 Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3 Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436 Issue Tracking, Patch, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826 Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560 Issue Tracking, Third Party Advisory
- https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00023.html Mailing List, Third Party Advisory