CVE-2019-16772
Last modified
CVE-2019-16772 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.65% chance of exploitation in the next 30 days.
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'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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Serialize-To-Js Project | Serialize-To-Js | < 3.0.1 |
References
- https://github.com/commenthol/serialize-to-js/commit/181d7d583ae5293cd47cc99b14ad13352875f3e3Patch, Third Party Advisory
- https://github.com/commenthol/serialize-to-js/commit/181d7d583ae5293cd47cc99b14ad13352875f3e3Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-16772?
How severe is CVE-2019-16772?
How do I fix CVE-2019-16772?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-16767The admin sys mode is now conditional and dedicated for the …7.2
- CVE-2019-16768In affected versions of Sylius, exception messages from inte…4.3
- CVE-2019-16769The serialize-javascript npm package before version 2.1.1 is…5.4
- CVE-2019-1677A vulnerability in Cisco Webex Meetings for Android could al…4.6
- CVE-2019-16770In Puma before versions 3.12.2 and 4.3.1, a poorly-behaved c…7.5
- CVE-2019-16771Versions of Armeria 0.85.0 through and including 0.96.0 are …6.5
- CVE-2019-16773Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2019-16774In phpfastcache before 5.1.3, there is a possible object inj…9.8
- CVE-2019-16775Versions of the npm CLI prior to 6.13.3 are vulnerable to an…6.5
- CVE-2019-16776Versions of the npm CLI prior to 6.13.3 are vulnerable to an…8.1
- CVE-2019-16777Versions of the npm CLI prior to 6.13.4 are vulnerable to an…6.5
- CVE-2019-16778In TensorFlow before 1.15, a heap buffer overflow in Unsorte…9.8
Are you affected by CVE-2019-16772?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
