
CVE-2020-7660 – npm-serialize-javascript: allows remote attackers to inject arbitrary code via the function deleteFunctions within index.js
https://notcve.org/view.php?id=CVE-2020-7660
01 Jun 2020 — serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js". serialize-javascript versiones anteriores a 3.1.0, permite a atacantes remotos inyectar código arbitrario por medio de la función "deleteFunctions" dentro del archivo "index.js". A flaw was found in the serialize-javascript before version 3.1.0. This flaw allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js." Red Hat OpenSh... • https://github.com/ossf-cve-benchmark/CVE-2020-7660 • CWE-502: Deserialization of Untrusted Data •

CVE-2019-16769 – Affected versions of serialize-javascript are vulnerable to Cross-site Scripting (XSS)
https://notcve.org/view.php?id=CVE-2019-16769
05 Dec 2019 — The serialize-javascript npm package before version 2.1.1 is vulnerable to Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions. This vulnerability is not affected on Node.js environment since Node.js's implementation of RegExp.prototype.toString() backslash-escapes all forward slashes in regular expressions. If serialized data of regular expression objects are used in an environment other than Node.js, it is affected by this vulnerability. La... • https://github.com/ossf-cve-benchmark/CVE-2019-16769 • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') •