Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CVE–2020–26237
Vulnerable dependency: highlight.js (npm) 9.18.1
Vulnerable dependency: @types/highlight.js (npm) 9.12.3
Vulnerability details
Description
Modification of Assumed-Immutable Data (MAID)
NVD
GitHub
CVSS details - 6.8
References
(parser) use null prototype objects for languages/aliases (#2636) · highlightjs/highlight.js@7241013 · GitHub
use null prototype objects for languages/aliases by night · Pull Request #2636 · highlightjs/highlight.js · GitHub
Prototype Pollution · Advisory · highlightjs/highlight.js · GitHub
highlight.js - npm
[SECURITY] [DLA 2511-1] highlight.js security update
NVD - CVE-2020-26237
Prototype Pollution in highlight.js · CVE-2020-26237 · GitHub Advisory Database · GitHub
highlight.js/VERSION_10_BREAKING_CHANGES.md at main · highlightjs/highlight.js · GitHub
highlight.js/VERSION_10_UPGRADE.md at main · highlightjs/highlight.js · GitHub
highlight.js/SUPPORTED_LANGUAGES.md at main · highlightjs/highlight.js · GitHub
GitHub - highlightjs/highlight.js: JavaScript syntax highlighter with language auto-detection and zero dependencies.
Issues · highlightjs/highlight.js · GitHub
highlight.js/AUTHORS.txt at master · highlightjs/highlight.js · GitHub
highlight.js/LICENSE at main · highlightjs/highlight.js · GitHub
Actions · highlightjs/highlight.js · GitHub
(parser) Deprecate
useBR
· Issue #2559 · highlightjs/highlight.js · GitHubhighlight.js/SECURITY.md at main · highlightjs/highlight.js · GitHub
Related information
📌 Remember! Check the changes to ensure they don't introduce any breaking changes.
📚 Read more about the CVE