We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
npm audit --omit=dev --json --registry=https://registry.npmjs.org
swagger-ui refers to "react-syntax-highlighter" : "^15.6.1" which refers to "refractor": "^3.6.0" which refers to "prismjs": "~1.27.0".
swagger-ui
"react-syntax-highlighter" : "^15.6.1"
"refractor": "^3.6.0"
"prismjs": "~1.27.0"
It seems like the project react-syntax-highlighter is not maintained that well.
"auditReportVersion": 2, "vulnerabilities": { "prismjs": { "name": "prismjs", "severity": "moderate", "isDirect": false, "via": [ { "source": 1102459, "name": "prismjs", "dependency": "prismjs", "title": "PrismJS DOM Clobbering vulnerability", "url": "https://github.com/advisories/GHSA-x7hr-w5r2-h6wg", "severity": "moderate", "cwe": [ "CWE-94" ], "cvss": { "score": 4.9, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N" }, } ], "effects": [ "refractor" ], "range": "<1.30.0", "nodes": [ "node_modules/refractor/node_modules/prismjs" ], "fixAvailable": { "name": "swagger-ui", "version": "3.29.0", "isSemVerMajor": true } }, "react-syntax-highlighter": { "name": "react-syntax-highlighter", "severity": "moderate", "isDirect": false, "via": [ "refractor" ], "effects": [ "swagger-ui" ], "range": ">=6.0.0", "nodes": [ "node_modules/react-syntax-highlighter" ], "fixAvailable": { "name": "swagger-ui", "version": "3.29.0", "isSemVerMajor": true } }, "refractor": { "name": "refractor", "severity": "moderate", "isDirect": false, "via": [ "prismjs" ], "effects": [ "react-syntax-highlighter" ], "range": "<=4.6.0", "nodes": [ "node_modules/refractor" ], "fixAvailable": { "name": "swagger-ui", "version": "3.29.0", "isSemVerMajor": true } }, "swagger-ui": { "name": "swagger-ui", "severity": "moderate", "isDirect": true, "via": [ "react-syntax-highlighter" ], "effects": [], "range": ">=3.30.0", "nodes": [ "node_modules/swagger-ui" ], "fixAvailable": { "name": "swagger-ui", "version": "3.29.0", "isSemVerMajor": true } } },
The text was updated successfully, but these errors were encountered:
Can we get a fix in please? Thanks!
Sorry, something went wrong.
Still affecting v5.20.5
This is a downstream issue with react-syntax-highlighter@latest, which is using an outdated [email protected]
react-syntax-highlighter@latest
[email protected]
Adding this to package.json should work in the meantime...
"resolutions": { "prismjs": "1.30.0" },
It is still to see in v5.21.5
No branches or pull requests
Q&A (please complete the following information)
Content & configuration
npm audit --omit=dev --json --registry=https://registry.npmjs.org
Describe the bug you're encountering
swagger-ui
refers to"react-syntax-highlighter" : "^15.6.1"
which refers to"refractor": "^3.6.0"
which refers to"prismjs": "~1.27.0"
.It seems like the project react-syntax-highlighter is not maintained that well.
Additional context or thoughts
The text was updated successfully, but these errors were encountered: