Skip to content

Commit ce27741

Browse files
gkorlandCopilot
andcommitted
Fix prismjs DOM Clobbering vulnerability (Dependabot #45)
Add npm override in app/package.json to force prismjs ^1.30.0, resolving the vulnerable 1.27.0 version nested under refractor 3.x (transitive dep of react-syntax-highlighter). Note: The remaining Dependabot alerts (pypdf #47-60, requests #46) cannot be fixed here — they are pinned by upstream dependencies (graphrag-sdk pins pypdf<6.0.0, multilspy pins requests==2.32.3). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e844a53 commit ce27741

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

app/package-lock.json

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
"tailwindcss-animate": "^1.0.7",
4242
"vaul": "^1.1.2"
4343
},
44+
"overrides": {
45+
"prismjs": "^1.30.0"
46+
},
4447
"devDependencies": {
4548
"@types/node": "^20.19.4",
4649
"@types/react": "^18.3.18",

0 commit comments

Comments
 (0)