Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency prismjs to v1.27.0 [SECURITY] #24

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 29, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prismjs 1.24.1 -> 1.27.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2021-3801

The prismjs package is vulnerable to ReDoS (regular expression denial of service). An attacker that is able to provide a crafted HTML comment as input may cause an application to consume an excessive amount of CPU.

CVE-2022-23647

Impact

Prism's Command line plugin can be used by attackers to achieve an XSS attack. The Command line plugin did not properly escape its output, leading to the input text being inserted into the DOM as HTML code.

Server-side usage of Prism is not impacted. Websites that do not use the Command Line plugin are also not impacted.

Patches

This bug has been fixed in v1.27.0.

Workarounds

Do not use the Command line plugin on untrusted inputs, or sanitized all code blocks (remove all HTML code text) from all code blocks that use the Command line plugin.

References


Release Notes

PrismJS/prism

v1.27.0

Compare Source

New components
Updated components
Updated plugins
Other

v1.26.0

Compare Source

New components
Updated components
Updated plugins
Updated themes
Other

v1.25.0

Compare Source

New components
Updated components
Updated plugins
Updated themes
  • Twilight
Other

Configuration

📅 Schedule: "" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@tgmarinho tgmarinho merged commit e9b6436 into main Mar 29, 2022
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch March 29, 2022 17:39
@netlify
Copy link

netlify bot commented Mar 29, 2022

Deploy Preview for tgmarinho ready!

Name Link
🔨 Latest commit 4b33779
🔍 Latest deploy log https://app.netlify.com/sites/tgmarinho/deploys/624343df21418300078ddaf9
😎 Deploy Preview https://deploy-preview-24--tgmarinho.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants