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
- Expo SDK has an OAuth vulnerability - CVE-2023-28131
- tRPC 11 WebSocket DoS Vulnerability - CVE-2025-43855
- @rpldy/uploader prototype pollution - CVE-2024-57082
- Signature Malleabillity in elliptic - CVE-2020-13822
- Tags:
- npm
- highlight.js
Anything's wrong? Let us know Last updated on February 01, 2023