-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed as not planned
Labels
closed: please-fix-this-cveThis issue is asking for fixing a CVE in a build-only dep which doesn't pose any real threat.This issue is asking for fixing a CVE in a build-only dep which doesn't pose any real threat.externalThis issue is caused by an external dependency and not Docusaurus.This issue is caused by an external dependency and not Docusaurus.
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
There is a Dependabot alert on this docusaurus-provided package: Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.
Reproducible demo
No response
Steps to reproduce
This is provided by a dependabot alert in the github repository.
Expected behavior
Please update the packages when you can
Actual behavior
.
Your environment
- Public source code:
- Public site URL:
- Docusaurus version used:
- Environment name and version (e.g. Chrome 89, Node.js 16.4):
- Operating system and version (e.g. Ubuntu 20.04.2 LTS):
Self-service
- I'd be willing to fix this bug myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
closed: please-fix-this-cveThis issue is asking for fixing a CVE in a build-only dep which doesn't pose any real threat.This issue is asking for fixing a CVE in a build-only dep which doesn't pose any real threat.externalThis issue is caused by an external dependency and not Docusaurus.This issue is caused by an external dependency and not Docusaurus.