Skip to content

Commit da80f23

Browse files
badrishcCopilot
andauthored
Fix 5 open Dependabot npm alerts in website dependencies (#1733)
Bump dompurify resolution 3.3.3 → 3.4.0 to fix: - CVE-2026-41239: SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode - CVE-2026-41240: FORBID_TAGS bypassed by function-based ADD_TAGS - CVE-2026-41238: Prototype Pollution to XSS Bypass - GHSA: ADD_TAGS function form bypasses FORBID_TAGS Add uuid resolution → 14.0.0 to fix: - GHSA: Missing buffer bounds check in v3/v5/v6 when buf is provided uuid 14.0.0 is ESM-only but Node.js 22+ (required by engines) supports require() of ESM modules, so CJS consumers like sockjs work correctly. Verified: yarn build succeeds and docusaurus start launches cleanly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f86c943 commit da80f23

2 files changed

Lines changed: 12 additions & 15 deletions

File tree

website/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@
4040
"lodash-es": "4.18.1",
4141
"//minimatch": "CVE-2024-21538, CVE-2023-36326, CVE-2023-34104 (ReDoS)",
4242
"minimatch": "3.1.5",
43-
"//dompurify": "CVE-2025-26791 (XSS)",
44-
"dompurify": "3.3.3"
43+
"//dompurify": "CVE-2025-26791, CVE-2026-0540, CVE-2026-41238, CVE-2026-41239, CVE-2026-41240 (XSS / prototype pollution)",
44+
"dompurify": "3.4.0",
45+
"//uuid": "GHSA uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided",
46+
"uuid": "14.0.0"
4547
},
4648
"browserslist": {
4749
"production": [

website/yarn.lock

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5106,10 +5106,10 @@ domhandler@^5.0.2, domhandler@^5.0.3:
51065106
dependencies:
51075107
domelementtype "^2.3.0"
51085108

5109-
dompurify@3.3.3, dompurify@^3.3.1:
5110-
version "3.3.3"
5111-
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.3.3.tgz#680cae8af3e61320ddf3666a3bc843f7b291b2b6"
5112-
integrity sha512-Oj6pzI2+RqBfFG+qOaOLbFXLQ90ARpcGG6UePL82bJLtdsa6CYJD7nmiU8MW9nQNOtCHV3lZ/Bzq1X0QYbBZCA==
5109+
dompurify@3.4.0, dompurify@^3.3.1:
5110+
version "3.4.0"
5111+
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.4.0.tgz#b1fc33ebdadb373241621e0a30e4ad81573dfd0b"
5112+
integrity sha512-nolgK9JcaUXMSmW+j1yaSvaEaoXYHwWyGJlkoCTghc97KgGDDSnpoU/PlEnw63Ah+TGKFOyY+X5LnxaWbCSfXg==
51135113
optionalDependencies:
51145114
"@types/trusted-types" "^2.0.7"
51155115

@@ -9976,15 +9976,10 @@ utils-merge@1.0.1:
99769976
resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
99779977
integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==
99789978

9979-
uuid@^11.1.0:
9980-
version "11.1.0"
9981-
resolved "https://registry.yarnpkg.com/uuid/-/uuid-11.1.0.tgz#9549028be1753bb934fc96e2bca09bb4105ae912"
9982-
integrity sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==
9983-
9984-
uuid@^8.3.2:
9985-
version "8.3.2"
9986-
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
9987-
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
9979+
uuid@14.0.0, uuid@^11.1.0, uuid@^8.3.2:
9980+
version "14.0.0"
9981+
resolved "https://registry.yarnpkg.com/uuid/-/uuid-14.0.0.tgz#0af883220163d264ffe0c084f6b8a89b9666966d"
9982+
integrity sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==
99889983

99899984
value-equal@^1.0.1:
99909985
version "1.0.1"

0 commit comments

Comments
 (0)