Skip to content

Commit 1ab325b

Browse files
cursoragentclaude
andcommitted
fix(deps): Force sax resolution to 1.5.0 to address CVE-2026-29074
Add yarn resolution for sax@^1.5.0 to ensure all dependencies use the secure version (1.5.0+) that addresses the entity expansion DoS vulnerability, instead of having mixed versions including vulnerable 1.4.4. Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 25c484b commit 1ab325b

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@
156156
"wide-align/string-width": "4.2.3",
157157
"cliui/wrap-ansi": "7.0.0",
158158
"sucrase": "getsentry/sucrase#es2020-polyfills",
159-
"**/express/path-to-regexp": "0.1.12"
159+
"**/express/path-to-regexp": "0.1.12",
160+
"sax": "^1.5.0"
160161
},
161162
"version": "0.0.0",
162163
"name": "sentry-javascript"

yarn.lock

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26629,15 +26629,10 @@ sass@^1.49.9:
2662926629
immutable "^4.0.0"
2663026630
source-map-js ">=0.6.2 <2.0.0"
2663126631

26632-
sax@^1.2.4, sax@^1.4.1:
26633-
version "1.4.4"
26634-
resolved "https://registry.yarnpkg.com/sax/-/sax-1.4.4.tgz#f29c2bba80ce5b86f4343b4c2be9f2b96627cf8b"
26635-
integrity sha512-1n3r/tGXO6b6VXMdFT54SHzT9ytu9yr7TaELowdYpMqY/Ao7EnlQGmAQ1+RatX7Tkkdm6hONI2owqNx2aZj5Sw==
26636-
26637-
sax@~1.2.4:
26638-
version "1.2.4"
26639-
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
26640-
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
26632+
sax@^1.2.4, sax@^1.5.0, sax@~1.2.4:
26633+
version "1.5.0"
26634+
resolved "https://registry.yarnpkg.com/sax/-/sax-1.5.0.tgz#b5549b671069b7aa392df55ec7574cf411179eb8"
26635+
integrity sha512-21IYA3Q5cQf089Z6tgaUTr7lDAyzoTPx5HRtbhsME8Udispad8dC/+sziTNugOEx54ilvatQ9YCzl4KQLPcRHA==
2664126636

2664226637
saxes@^6.0.0:
2664326638
version "6.0.0"
@@ -28096,7 +28091,6 @@ [email protected], stylus@^0.59.0:
2809628091

2809728092
sucrase@^3.27.0, sucrase@^3.35.0, sucrase@getsentry/sucrase#es2020-polyfills:
2809828093
version "3.36.0"
28099-
uid fd682f6129e507c00bb4e6319cc5d6b767e36061
2810028094
resolved "https://codeload.github.com/getsentry/sucrase/tar.gz/fd682f6129e507c00bb4e6319cc5d6b767e36061"
2810128095
dependencies:
2810228096
"@jridgewell/gen-mapping" "^0.3.2"

0 commit comments

Comments
 (0)