Skip to content

Fix security vulnerabilities in transitive dependencies#1723

Closed
cortinico wants to merge 2 commits into
react:mainfrom
cortinico:export-D107521797
Closed

Fix security vulnerabilities in transitive dependencies#1723
cortinico wants to merge 2 commits into
react:mainfrom
cortinico:export-D107521797

Conversation

@cortinico

@cortinico cortinico commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary:
Refresh yarn.lock to pick up patched versions of vulnerable transitive dependencies. No resolutions needed — existing semver constraints already allow the fix versions.

Main (yarn.lock):

  • tmp 0.2.3 → 0.2.7 (CVE-2026-44705, path traversal)
  • flatted 3.2.2 → 3.4.2 (unbounded recursion DoS, prototype pollution)
  • brace-expansion 1.1.12 → 1.1.15 (ReDoS)
  • picomatch 2.3.1 → 2.3.2 (CVE-2026-33671, ReDoS; CVE-2026-33672, method injection)

Website (website/yarn.lock):

All bumps are within semver range — patch or minor version updates only. No cross-major overrides.

Reviewed By: GijsWeterings

Differential Revision: D107521797

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 4, 2026
@meta-codesync

meta-codesync Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@cortinico has exported this pull request. If you are a Meta employee, you can view the originating Diff in D107521797.

@cortinico cortinico force-pushed the export-D107521797 branch 3 times, most recently from eae7dd2 to 3d3abcf Compare June 5, 2026 11:00
cortinico added a commit to cortinico/metro that referenced this pull request Jun 5, 2026
Summary:
Pull Request resolved: react#1723

Refresh yarn.lock to pick up patched versions of vulnerable transitive dependencies. No resolutions needed — existing semver constraints already allow the fix versions.

Main (`yarn.lock`):
- `tmp` 0.2.3 → 0.2.7 (CVE-2026-44705, path traversal)
- `flatted` 3.2.2 → 3.4.2 (unbounded recursion DoS, prototype pollution)
- `brace-expansion` 1.1.12 → 1.1.15 (ReDoS)
- `picomatch` 2.3.1 → 2.3.2 (CVE-2026-33671, ReDoS; CVE-2026-33672, method injection)

Website (`website/yarn.lock`):
- `fast-uri` 3.0.6 → 3.1.2 (CVE-2026-6321, path traversal; CVE-2026-6322, host confusion)
- `follow-redirects` 1.15.9 → 1.16.0 (GHSA-r4q5-vmmm-2653)
- `postcss` 8.5.3 → 8.5.15 (GHSA-qx2v-qp2m-jg93, XSS)
- `ws` 7.5.10 → 7.5.11 and 8.18.1 → 8.21.0 (GHSA-58qx-3vcg-4xpx)

All bumps are within semver range — patch or minor version updates only. No cross-major overrides.

Differential Revision: D107521797
@cortinico cortinico force-pushed the export-D107521797 branch from 3d3abcf to df1626a Compare June 5, 2026 11:05
@meta-codesync meta-codesync Bot changed the title Fix security vulnerabilities in transitive dependencies Fix security vulnerabilities in transitive dependencies (#1723) Jun 5, 2026
cortinico added 2 commits June 5, 2026 05:43
Summary:
Upgrade `docusaurus/core` and `docusaurus/preset-classic` from 3.6.3 to 3.10.1 in the metro website. This upgrades `webpack-dev-server` from 4.x to 5.x, which eliminates several vulnerable transitive dependencies.

Also adds a resolution for `serialize-javascript` to force 7.0.5 (fixes GHSA-5c6j-r48x-rmvq, code injection via RegExp.flags).

Key changes from Docusaurus 3.10.1:
- `webpack-dev-server` 4.15.2 → 5.2.4 (drops sockjs, http-proxy-middleware)
- `serialize-javascript` 6.0.2 → 7.0.5 (via resolution)

Differential Revision: D107522586
Summary:
Refresh yarn.lock to pick up patched versions of vulnerable transitive dependencies. No resolutions needed — existing semver constraints already allow the fix versions.

Main (`yarn.lock`):
- `tmp` 0.2.3 → 0.2.7 (CVE-2026-44705, path traversal)
- `flatted` 3.2.2 → 3.4.2 (unbounded recursion DoS, prototype pollution)
- `brace-expansion` 1.1.12 → 1.1.15 (ReDoS)
- `picomatch` 2.3.1 → 2.3.2 (CVE-2026-33671, ReDoS; CVE-2026-33672, method injection)

Website (`website/yarn.lock`):
- `fast-uri` 3.0.6 → 3.1.2 (CVE-2026-6321, path traversal; CVE-2026-6322, host confusion)
- `follow-redirects` 1.15.9 → 1.16.0 (GHSA-r4q5-vmmm-2653)
- `postcss` 8.5.3 → 8.5.15 (GHSA-qx2v-qp2m-jg93, XSS)
- `ws` 7.5.10 → 7.5.11 and 8.18.1 → 8.21.0 (GHSA-58qx-3vcg-4xpx)

All bumps are within semver range — patch or minor version updates only. No cross-major overrides.

Reviewed By: GijsWeterings

Differential Revision: D107521797
@cortinico cortinico force-pushed the export-D107521797 branch from df1626a to 22d8864 Compare June 5, 2026 12:51
@meta-codesync meta-codesync Bot changed the title Fix security vulnerabilities in transitive dependencies (#1723) Fix security vulnerabilities in transitive dependencies Jun 5, 2026
@meta-codesync meta-codesync Bot closed this in 85a75c6 Jun 5, 2026
@meta-codesync

meta-codesync Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in 85a75c6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant