Description
xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited.
Remediation
References
https://fluidattacks.com/advisories/myers/
https://github.com/Leonidas-from-XIV/node-xml2js/
https://github.com/Leonidas-from-XIV/node-xml2js/releases/tag/0.6.2
https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html
Related Vulnerabilities
CVE-2021-32685 Vulnerability in npm package tenvoy
CVE-2022-40309 Vulnerability in maven package org.apache.archiva:maven2-repository
CVE-2021-3312 Vulnerability in maven package org.opencms:opencms-core
CVE-2022-45393 Vulnerability in maven package org.jenkins-ci.plugins:delete-log-plugin
CVE-2020-7691 Vulnerability in maven package org.webjars.npm:jspdf