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://lists.debian.org/debian-lts-announce/2024/03/msg00013.html
Related Vulnerabilities
CVE-2020-7788 Vulnerability in npm package ini
CVE-2020-28499 Vulnerability in maven package org.webjars.npm:merge
CVE-2017-16155 Vulnerability in npm package fast-http-cli
CVE-2020-28052 Vulnerability in maven package org.bouncycastle:bcprov-jdk15to18
CVE-2021-46036 Vulnerability in maven package net.mingsoft:ms-mcms