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] #246

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 1, 2021

This PR contains the following updates:

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

GitHub Vulnerability Alerts

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

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


Release Notes

PrismJS/prism (prismjs)

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

v1.24.1

Compare Source

Updated components
Updated plugins

v1.24.0

Compare Source

New components
Updated components

Configuration

📅 Schedule: Branch creation - "" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 5 times, most recently from e2318e6 to 12bbde3 Compare March 13, 2021 17:14
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from e2a646c to 3186a05 Compare March 20, 2021 17:46
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from 5a57378 to afd8f91 Compare March 27, 2021 18:55
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from afd8f91 to 5490c54 Compare April 10, 2021 16:47
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 3 times, most recently from cd15e59 to 084e848 Compare May 8, 2021 16:18
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 084e848 to a65e2ef Compare May 15, 2021 16:23
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from f77b8b7 to 6e96fe4 Compare May 29, 2021 17:09
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 6e96fe4 to 3ee2b9e Compare June 19, 2021 16:53
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 3ee2b9e to d4d322e Compare June 28, 2021 19:38
@renovate renovate bot changed the title Update dependency prismjs to v1.23.0 [SECURITY] Update dependency prismjs to v1.24.0 [SECURITY] Jun 28, 2021
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from c68b580 to b88bdad Compare July 10, 2021 16:23
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from fcb2e82 to be169f5 Compare July 10, 2021 18:49
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from 4e64fc7 to 2a0630c Compare July 31, 2021 16:37
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 3 times, most recently from 440b9c7 to b8882e2 Compare August 14, 2021 16:45
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from b8882e2 to 4afde44 Compare August 14, 2021 18:24
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 4afde44 to f0a8f2c Compare August 21, 2021 18:46
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 3 times, most recently from 8004b70 to 6e34d7e Compare October 29, 2022 19:17
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 6e34d7e to ea5688a Compare December 10, 2022 18:11
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from ea5688a to 331939d Compare December 17, 2022 19:06
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 331939d to 3fbbe51 Compare January 21, 2023 20:19
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from 8fc8475 to 52f7846 Compare February 18, 2023 19:45
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 52f7846 to 9cd94a9 Compare April 1, 2023 22:45
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from 88bb33d to 4fbaa6b Compare April 15, 2023 19:29
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 4fbaa6b to afada17 Compare April 29, 2023 19:29
@renovate renovate bot changed the title Update dependency prismjs to v1.27.0 [SECURITY] Update dependency prismjs to v1.27.0 [SECURITY] - autoclosed May 3, 2023
@renovate renovate bot closed this May 3, 2023
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch May 3, 2023 02:06
@renovate renovate bot changed the title Update dependency prismjs to v1.27.0 [SECURITY] - autoclosed Update dependency prismjs to v1.27.0 [SECURITY] May 3, 2023
@renovate renovate bot reopened this May 3, 2023
@renovate renovate bot restored the renovate/npm-prismjs-vulnerability branch May 3, 2023 04:08
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from ce4ae20 to 53f7ad5 Compare May 6, 2023 21:15
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 53f7ad5 to c349a26 Compare May 27, 2023 19:28
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from c349a26 to ee93315 Compare June 10, 2023 19:13
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from ee93315 to 81e9243 Compare August 12, 2023 18:17
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 81e9243 to 0bb535c Compare August 26, 2023 20:25
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 0bb535c to 470b7ec Compare September 16, 2023 18:37
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 470b7ec to 86a7755 Compare September 30, 2023 18:16
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 86a7755 to 6f5dfb6 Compare October 14, 2023 18:08
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 6f5dfb6 to 01d8d18 Compare October 21, 2023 18:53
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 01d8d18 to e939759 Compare November 11, 2023 18:41
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