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 1.27.0 [SECURITY] #2945

Merged
merged 2 commits into from Feb 28, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change
prismjs 1.26.0 -> 1.27.0

GitHub Vulnerability Alerts

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


Configuration

📅 Schedule: "" (UTC).

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

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 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.

@renovate renovate bot requested a review from a team as a code owner February 26, 2022 02:21
@rebeccahum rebeccahum added the dependencies Pull requests that update a dependency file label Feb 28, 2022
@rebeccahum rebeccahum enabled auto-merge (squash) February 28, 2022 22:31
@rebeccahum rebeccahum merged commit 1a96c2a into master Feb 28, 2022
@rebeccahum rebeccahum deleted the renovate/npm-prismjs-vulnerability branch February 28, 2022 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file [Status] No files to Deploy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants