modernweb-dev / storybook-prebuilt

Storybook prebuilt to work with native es modules
MIT License
37 stars 9 forks source link

chore(deps): update dependency prismjs to 1.27.0 [security] #123

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

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.



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

abdonrd commented 2 years ago

@Westbrook maybe this could help with https://github.com/modernweb-dev/web/issues/1841

Westbrook commented 2 years ago

With refractor still an intermediary there will still be a lower version of prismjs, but every time step closer 😓