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

chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed #371

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 28, 2022

Mend Renovate

This PR contains the following updates:

Package Change
prismjs 1.17.1 -> 1.27.0

GitHub Vulnerability Alerts

CVE-2020-15138

Impact

The easing preview of the Previewers plugin has an XSS vulnerability that allows attackers to execute arbitrary code in Safari and Internet Explorer.

This impacts all Safari and Internet Explorer users of Prism >=v1.1.0 that use the Previewers plugin (>=v1.10.0) or the Previewer: Easing plugin (v1.1.0 to v1.9.0).

Patches

This problem is patched in v1.21.0.

Workarounds

To workaround the issue without upgrading, disable the easing preview on all impacted code blocks. You need Prism v1.10.0 or newer to apply this workaround.

References

The vulnerability was introduced by this commit on Sep 29, 2015 and fixed by Masato Kinugawa (#​2506).

For more information

If you have any questions or comments about this advisory, please open an issue.

CVE-2021-23341

The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.

CVE-2021-32723

Some languages before 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS).

Impact

When Prism is used to highlight untrusted (user-given) text, an attacker can craft a string that will take a very very long time to highlight. Do not use the following languages to highlight untrusted text.

  • ASCIIDoc
  • ERB

Other languages are not affected and can be used to highlight untrusted text.

Patches

This problem has been fixed in Prism v1.24.

References

  • PrismJS/prism#​2774
  • PrismJS/prism#​2688

CVE-2021-3801

Prism is a syntax highlighting library. 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


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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, check this box

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

@renovate renovate bot force-pushed the renovate/master-npm-prismjs-vulnerability branch 30 times, most recently from 64daa6c to 3acecd6 Compare March 30, 2022 10:09
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed chore(deps): update dependency prismjs to 1.27.0 [security] (master) Mar 30, 2023
@renovate renovate bot reopened this Mar 30, 2023
@renovate renovate bot restored the renovate/master-npm-prismjs-vulnerability branch March 30, 2023 10:43
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed Mar 30, 2023
@renovate renovate bot closed this Mar 30, 2023
@renovate renovate bot deleted the renovate/master-npm-prismjs-vulnerability branch March 30, 2023 13:15
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed chore(deps): update dependency prismjs to 1.27.0 [security] (master) Mar 30, 2023
@renovate renovate bot reopened this Mar 30, 2023
@renovate renovate bot restored the renovate/master-npm-prismjs-vulnerability branch March 30, 2023 18:32
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed Mar 30, 2023
@renovate renovate bot closed this Mar 30, 2023
@renovate renovate bot deleted the renovate/master-npm-prismjs-vulnerability branch March 30, 2023 18:46
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed chore(deps): update dependency prismjs to 1.27.0 [security] (master) Mar 31, 2023
@renovate renovate bot reopened this Mar 31, 2023
@renovate renovate bot restored the renovate/master-npm-prismjs-vulnerability branch March 31, 2023 02:14
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed Mar 31, 2023
@renovate renovate bot closed this Mar 31, 2023
@renovate renovate bot deleted the renovate/master-npm-prismjs-vulnerability branch March 31, 2023 02:41
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed chore(deps): update dependency prismjs to 1.27.0 [security] (master) Mar 31, 2023
@renovate renovate bot reopened this Mar 31, 2023
@renovate renovate bot restored the renovate/master-npm-prismjs-vulnerability branch March 31, 2023 08:41
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed Mar 31, 2023
@renovate renovate bot closed this Mar 31, 2023
@renovate renovate bot deleted the renovate/master-npm-prismjs-vulnerability branch March 31, 2023 10:13
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed chore(deps): update dependency prismjs to 1.27.0 [security] (master) Mar 31, 2023
@renovate renovate bot reopened this Mar 31, 2023
@renovate renovate bot restored the renovate/master-npm-prismjs-vulnerability branch March 31, 2023 22:24
@renovate renovate bot changed the title chore(deps): update dependency prismjs to 1.27.0 [security] (master) chore(deps): update dependency prismjs to 1.27.0 [security] (master) - autoclosed Mar 31, 2023
@renovate renovate bot closed this Mar 31, 2023
@renovate renovate bot deleted the renovate/master-npm-prismjs-vulnerability branch March 31, 2023 22:26
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.

0 participants