GHSA-9pgh-qqpf-7wqj
Withdrawn: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in @xmldom/xmldom and xmldom
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @xmldom/xmldom | >= 0.8.0, < 0.8.3 | 0.8.3 |
| npm | xmldom | <= 0.6.0 | no fix listed |
| npm | @xmldom/xmldom | >= 0.9.0-beta.1, < 0.9.0-beta.2 | 0.9.0-beta.2 |
| npm | @xmldom/xmldom | < 0.7.6 | 0.7.6 |
Details
As written in the advisory (Markdown source, shown as plain text).
## Withdrawn
This advisory has been withdrawn because the maintainers of `@xmldom/xmldom` and multiple third parties disputed the validity of the issue. Attempts to create or replicate a proof of concept have been unsuccessful.
## Original Description
### Impact
A prototype pollution vulnerability exists in the function copy in dom.js in the xmldom (published as @xmldom/xmldom) package.
### Patches
Update to `@xmldom/xmldom@~0.7.6`, `@xmldom/xmldom@~0.8.3` (dist-tag `latest`) or `@xmldom/xmldom@>=0.9.0-beta.2` (dist-tag `next`).
### Workarounds
None
### References
https://github.com/xmldom/xmldom/pull/437
### For more information
If you have any questions or comments about this advisory:
* Email us at [email protected]
* Add information to https://github.com/xmldom/xmldom/issues/436
References
External links from the advisory. They lead to third-party sites.
- https://github.com/xmldom/xmldom/security/advisories/GHSA-9pgh-qqpf-7wqj
- https://nvd.nist.gov/vuln/detail/CVE-2022-37616
- https://github.com/xmldom/xmldom/issues/436
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1327776560
- https://github.com/xmldom/xmldom/pull/437
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769
- https://github.com/xmldom/xmldom
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L1
- https://github.com/xmldom/xmldom/blob/bc36efddf9948aba15618f85dc1addfc2ac9d7b2/lib/dom.js#L3
- https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md#076
- https://lists.debian.org/debian-lts-announce/2022/10/msg00023.html
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf