Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Update dependency prismjs to 1.27.0 [SECURITY] #1319

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

@renovate renovate bot requested a review from StephenBarlow as a code owner February 26, 2022 01:45
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from fc8f690 to 7f0df4d Compare February 26, 2022 04:12
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 7f0df4d to f19492a Compare March 5, 2022 04:48
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from f19492a to 3aaefff Compare March 14, 2022 18:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant