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

fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed #37

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 23, 2023

Mend Renovate

This PR contains the following updates:

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

GitHub Vulnerability Alerts

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
Updated plugins

Configuration

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

🚦 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 these updates 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.

@stackblitz
Copy link

stackblitz bot commented Sep 23, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Sep 23, 2023

⚠️ No Changeset found

Latest commit: 75006ed

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed Sep 23, 2023
@renovate renovate bot closed this Sep 23, 2023
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch September 23, 2023 08:00
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed fix(deps): update dependency prismjs to v1.27.0 [security] Sep 23, 2023
@renovate renovate bot reopened this Sep 23, 2023
@renovate renovate bot restored the renovate/npm-prismjs-vulnerability branch September 23, 2023 17:11
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 8e55e74 to 1256213 Compare September 23, 2023 17:11
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed Sep 24, 2023
@renovate renovate bot closed this Sep 24, 2023
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch September 24, 2023 01:44
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed fix(deps): update dependency prismjs to v1.27.0 [security] Sep 24, 2023
@renovate renovate bot reopened this Sep 24, 2023
@renovate renovate bot restored the renovate/npm-prismjs-vulnerability branch September 24, 2023 19:47
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 1256213 to 8032277 Compare September 24, 2023 19:47
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed Sep 25, 2023
@renovate renovate bot closed this Sep 25, 2023
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch September 25, 2023 00:35
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed fix(deps): update dependency prismjs to v1.27.0 [security] Sep 27, 2023
@renovate renovate bot reopened this Sep 27, 2023
@renovate renovate bot restored the renovate/npm-prismjs-vulnerability branch September 27, 2023 21:00
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 8032277 to 9a80490 Compare September 27, 2023 21:00
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed Sep 27, 2023
@renovate renovate bot closed this Sep 27, 2023
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch September 27, 2023 22:01
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed fix(deps): update dependency prismjs to v1.27.0 [security] Sep 29, 2023
@renovate renovate bot reopened this Sep 29, 2023
@renovate renovate bot restored the renovate/npm-prismjs-vulnerability branch September 29, 2023 23:15
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch October 6, 2023 13:19
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed fix(deps): update dependency prismjs to v1.27.0 [security] Oct 7, 2023
@renovate renovate bot reopened this Oct 7, 2023
@renovate renovate bot restored the renovate/npm-prismjs-vulnerability branch October 7, 2023 23:30
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from ffdd632 to 45bc723 Compare October 7, 2023 23:31
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed Oct 8, 2023
@renovate renovate bot closed this Oct 8, 2023
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch October 8, 2023 00:37
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed fix(deps): update dependency prismjs to v1.27.0 [security] Oct 10, 2023
@renovate renovate bot restored the renovate/npm-prismjs-vulnerability branch October 10, 2023 22:46
@renovate renovate bot reopened this Oct 10, 2023
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 45bc723 to 7f064fe Compare October 10, 2023 22:46
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed Oct 11, 2023
@renovate renovate bot closed this Oct 11, 2023
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch October 11, 2023 00:48
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed fix(deps): update dependency prismjs to v1.27.0 [security] Oct 11, 2023
@renovate renovate bot reopened this Oct 11, 2023
@renovate renovate bot restored the renovate/npm-prismjs-vulnerability branch October 11, 2023 18:46
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 7f064fe to 49a042e Compare October 11, 2023 18:46
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed Oct 12, 2023
@renovate renovate bot closed this Oct 12, 2023
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch October 12, 2023 00:28
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed fix(deps): update dependency prismjs to v1.27.0 [security] Oct 15, 2023
@renovate renovate bot reopened this Oct 15, 2023
@renovate renovate bot restored the renovate/npm-prismjs-vulnerability branch October 15, 2023 18:36
@renovate renovate bot force-pushed the renovate/npm-prismjs-vulnerability branch from 49a042e to 75006ed Compare October 15, 2023 18:36
@renovate renovate bot changed the title fix(deps): update dependency prismjs to v1.27.0 [security] fix(deps): update dependency prismjs to v1.27.0 [security] - autoclosed Oct 15, 2023
@renovate renovate bot closed this Oct 15, 2023
@renovate renovate bot deleted the renovate/npm-prismjs-vulnerability branch October 15, 2023 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants