fix(deps): update dependency prismjs to v1.23.0 [security] #388
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.20.0->1.23.0GitHub 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.
Release Notes
PrismJS/prism
v1.23.0Compare Source
New components
f0e2b70e0803525b8831c706Updated components
c2f6a644=(#2612)00bf00e30a3932fe129faf5cf1541342a7ccc16dstyleattribute tokenization (#2569)b04cbafe0889bc7c73f81c890bb4f096093c8175a5107d5c89f1e1822af3e2c25cf9cfbc38808e64df922d9089ebb0b737b9c9a1deb238a6e01ecd007951ca248e76a97825bdb494Updated plugins
7a74497atype="button"attribute for copy to clipboard plugin (#2593)f59a85f13f4ae00db40f8f4bcdb24abe7cdfe5567266e32ffc602822Other
071232b42ea202b9f217ab75245744068fa8dd24691320459df20c5estartscript to start local server (#2491)0604793c05afbb10e644178b8bfcc8192d3a12670df60be1Prism.languages.extend(#2572)8828500eb5f4f10edf0738e99f82de50add3736a8e6604958e1f38ffv1.22.0Compare Source
New components
4d31e22a5c33f0bb004eaa74388ad996ad748a00cb75d9e22da2bebabf115f47Updated components
fa2225ffe023044cc51ababbbcef22afmatchkeyword (PHP 8.0) (#2574)1761513e35cbc02ff62ca7873b4f14cae4f6ccacbfb367486c92180159853a52Updated plugins
d36ea9936b47133da409245eOther
bafab634206dc80fbf169e5f655f985c8ae6a4ba5ad6cb23v1.21.0Compare Source
New components
3fcce6fe3a127c7dde21eb64398e2943649e51e5ed8fff9187a5c7aeae0327b3bd4d8165d0c1c70d053016ef22eb5cad8704cdfb1093ceb3cde5b0facaec5e30ed1df1e1Updated components
9782cfe67a554b5f⍥(#2409)0255cb6aformatbuilt-in (#2450)7c66cfc4ddf3cc624fe03676composercommand (#2298)044dd271f0f8210c8a72fa6ffdcf7ed27f341fc12a2e79ed8e9d161ce3fe9040enum classclass names (#2342)30b4e254537a9e80964de5a1classandidpatterns (#2359)fdbc4473attr-{name,value}tokens and added tokens for combinators and selector lists (#2373)e523f5d04172ab6fprefixtoken (#2281)fd432a5b37273a6f0c30c582etaalias (#2282)0cfb6c5f33e49956de8ed16d9e64c62ed6055771namespacetoken (#2295)62e184bb032910ba4f55052fget/setand parameter detection (#2387)ed715158b28f21b72805ae35158caf5281cf2344ktandktsaliases (#2474)67f97e2e9c7bc820attr-equalsalias for the attribute=sign (#2350)96a0116eab1e34aeeb70070dobjcalias (#2331)67c6b7affec39bcf939a17c47f948ecbc93244768a72830arpyalias (#2385)4935b5caregexandstringpatterns (#2354)b526e8c02ff40fe0194c5429278316caa0a9f1efproc groovyandproc lua(#2392)475a59031e3f542b1946918ad2541d54e27e65afac297ba59a49f78fsolalias (#2382)6352213aRETURNINGkeyword (#2476)bea7a5856d663b6e2c10ef8a0d65d6c9b6093339assertskeyword and other improvements (#2280)a197cfcd78161d60untilkeyword (#2423)a13ee8d9ba5ac1daUpdated plugins
afea17d9a36e96aba3416bf3data-dependenciesand extensions (#2326)1654b25f5cdc32518c9c2896e6b2c6fceb82e804b96ed225lineNumberWrapperis null (#2337)4b61661d_resizeElementfunction (#2288)893f2a798bba4880Prism.languages.markup(#2444)af132dd3Updated themes
7109c18coperatortokens as intentional (#2309)937e269106495f90Other
cb6349e2402852034ff555be10f4327505c9f20bnpm run buildcommand (#2356)ff74a610inlineRegexSource(#2296)abb800dd11053193premergetask (#2357)5ff7932be756be3f681adeef48fac3b2a3758728583e7eb5components.json(#2370)e416341f10ca6433consolein VM context (#2353)b4ed5deddfa5498a91fdd0b1ce0fa227a0efa40b453079bf447429f0ad9c13e255bf7ec1Configuration
📅 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.