Description
Affected versions of this package are vulnerable to Prototype Pollution. A malicious HTML code block can be crafted that will result in prototype pollution of the base object’s prototype during highlighting.
Recommendation
Update the highlight.js package to the latest compatible version. Followings are version details:
Affected version(s): **>= 10.0.0, < 10.1.2 < 9.18.2** Patched version(s): **10.1.2 9.18.2**
References
- GHSA-vfrc-7r7c-w9mx
- www.npmjs.com
- lists.debian.org
- www.oracle.com
- CVE-2020-26237
- CWE-471
- CAPEC-310
- OWASP 2021-A3
- OWASP 2021-A6
Related Issues
- shvl vulnerable to prototype pollution - CVE-2020-28278
- Prototype Pollution in Ajv - CVE-2020-15366
- TypeORM vulnerable to MAID and Prototype Pollution - CVE-2020-8158
- Prototype Pollution in asciitable.js - CVE-2020-7771
- Tags:
- npm
- highlight.js
Anything's wrong? Let us know Last updated on February 01, 2023