{"id":"EUVD-2019-0772","enisaUuid":"9f29fe14-a80e-345b-89a9-ce8388a31057","description":"The serialize-to-js NPM package before version 3.0.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\u0027s 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.","datePublished":"Dec 6, 2019, 11:25:14 PM","dateUpdated":"Aug 5, 2024, 1:24:48 AM","baseScore":3.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","references":"https://github.com/commenthol/serialize-to-js/security/advisories/GHSA-3fjq-93xj-3f3f\nhttps://github.com/commenthol/serialize-to-js/commit/181d7d583ae5293cd47cc99b14ad13352875f3e3\n","aliases":"CVE-2019-16772\nGHSA-3fjq-93xj-3f3f\n","assigner":"GitHub_M","epss":0.65,"enisaIdProduct":[{"id":"bcbfbf9d-74ef-34e7-9f58-c4017397510a","product":{"name":"serialize-to-js","vendor":{"name":"commenthol"}},"product_version":"\u003c 3.0.1 \u003c3.0.1"}],"enisaIdVendor":[{"id":"d9d1f8f5-7e1c-3e61-922d-865c56069257","vendor":{"name":"commenthol"}}],"enisaIdVulnerability":[{"id":"6811b838-761d-3dce-8bf8-c42122a8cbdb","vulnerability":{"id":"CVE-2019-16772","description":"The serialize-to-js NPM package before version 3.0.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\u0027s 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.","datePublished":"Dec 6, 2019, 11:25:14 PM","dateUpdated":"Aug 5, 2024, 1:24:48 AM","status":"PUBLISHED","baseScore":3.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","references":"https://github.com/commenthol/serialize-to-js/security/advisories/GHSA-3fjq-93xj-3f3f\nhttps://github.com/commenthol/serialize-to-js/commit/181d7d583ae5293cd47cc99b14ad13352875f3e3\n","enisa_id":"EUVD-2019-0772\n","assigner":"GitHub_M","epss":0.65,"dataProcessed":"Nov 24, 2026, 7:19:57 AM","vulnerabilityProduct":[{"id":"09d03ffa-44f5-3a7a-a059-74875ff03a75","product":{"name":"serialize-to-js","vendor":{"name":"commenthol"}},"product_version":"\u003c 3.0.1 \u003c3.0.1"}],"vulnerabilityVendor":[{"id":"18ceb14a-ed93-3c02-802c-5e62bb7de1e9","vendor":{"name":"commenthol"}}]}},{"id":"c368b17c-0bc3-376a-844b-8159294d5c87","vulnerability":{"id":"GHSA-3fjq-93xj-3f3f","description":"Cross-Site Scripting in serialize-to-js","datePublished":"Dec 6, 2019, 11:20:26 PM","dateUpdated":"Nov 6, 2023, 1:43:16 PM","baseScore":null,"references":"https://github.com/commenthol/serialize-to-js/security/advisories/GHSA-3fjq-93xj-3f3f\nhttps://nvd.nist.gov/vuln/detail/CVE-2019-16772\nhttps://github.com/commenthol/serialize-to-js/commit/181d7d583ae5293cd47cc99b14ad13352875f3e3\nhttps://github.com/advisories/GHSA-3fjq-93xj-3f3f\nhttps://www.npmjs.com/advisories/1429\n","enisa_id":"EUVD-2019-0772\n","aliases":"CVE-2019-16772\nGHSA-3fjq-93xj-3f3f\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}