QID 983099
QID 983099: Nodejs (npm) Security Update for highlight.js (GHSA-vfrc-7r7c-w9mx)
Security update has been released for highlight.js to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
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. If you allow users to insert custom HTML code blocks into your page/app via parsing Markdown code blocks (or similar) and do not filter the language names the user can provide you may be vulnerable.
The pollution should just be harmless data but this can cause problems for applications not expecting these properties to exist and can result in strange behavior or application crashes, i.e. a potential DOS vector.
_If your website or application does not render user provided data it should be unaffected._
- GHSA-vfrc-7r7c-w9mx -
github.com/advisories/GHSA-vfrc-7r7c-w9mx
CVEs related to QID 983099
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-vfrc-7r7c-w9mx | highlight.js |
|