Skip to content

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

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-prismjs-vulnerability
Open

Update dependency prismjs to v1.27.0 [SECURITY]#246
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-prismjs-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 1, 2021

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
prismjs 1.22.01.27.0 age 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 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 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 from 6b9967c to 05e4838 Compare October 31, 2021 13:26
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from 0a2d923 to 66589a6 Compare November 20, 2021 18:39
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 66589a6 to db924f5 Compare November 27, 2021 17:04
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from db924f5 to dd7dd60 Compare December 18, 2021 17:38
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from 2574df2 to 1600c10 Compare January 24, 2022 13:01
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from 0a8bd96 to 987d404 Compare February 5, 2022 18:35
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 987d404 to 9e18703 Compare February 19, 2022 19:40
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 9e18703 to 59c77da Compare March 5, 2022 16:40
@renovate renovate bot changed the title Update dependency prismjs to v1.25.0 [SECURITY] Update dependency prismjs to v1.27.0 [SECURITY] Mar 5, 2022
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from d4ef30f to 8933994 Compare March 12, 2022 18:46
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 8933994 to 1d11d0c Compare March 19, 2022 19:01
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 1d11d0c to 8df5681 Compare April 9, 2022 18:35
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 3 times, most recently from 3c7e39a to 6206411 Compare April 23, 2022 18:39
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from abc2711 to f7b0322 Compare May 7, 2022 19:11
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from 79ea497 to 94d4986 Compare May 14, 2022 17:25
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 94d4986 to 1161dfb Compare May 21, 2022 18:30
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from e51550d to c6f00bc Compare June 12, 2022 17:22
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from c6f00bc to a592b4d Compare June 19, 2022 17:52
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch 2 times, most recently from e5272bc to c57514a Compare July 30, 2022 18:23
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