-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 react-syntax-hightlighter to v15.5.0 for fixing XSS vulnerability issue by prismjs #17784
Comments
It would be great if this could be included in the next minor. PrismJS/prism#3341 was included in their v1.27.0 release. More context: GHSA-3949-f494-cm99 |
It seems that prismjs is a devDependency. Is that correct? If so, you can move it to devDependencies in package.json and it wouldn't be a security vuln for everyone, but you would want to update it ASAP, of course. |
Seemed like less work to just bump the version, so I did. |
Ooh-la-la!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-alpha.10 containing PR #18009 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Thanks @shilman! |
Is your feature request related to a problem? Please describe
@storybook/components which depends on react-syntax-highlighter has a XSS vulnerability issue by prismjs.
It was resolved in react-syntax-highlighter v15.5.0
https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases/tag/15.5.0
Describe the solution you'd like
Update react-syntax-hightlighter to v15.5.0
The text was updated successfully, but these errors were encountered: