Skip to content

chore(deps): bump fast-uri from 3.1.4 to 3.1.5 in docs - #66

Merged
phodal merged 1 commit into
mainfrom
chore/bump-fast-uri-3-1-5
Aug 4, 2026
Merged

chore(deps): bump fast-uri from 3.1.4 to 3.1.5 in docs#66
phodal merged 1 commit into
mainfrom
chore/bump-fast-uri-3-1-5

Conversation

@phodal

@phodal phodal commented Aug 4, 2026

Copy link
Copy Markdown
Member

What

Bumps the transitive fast-uri pin in docs/package-lock.json from 3.1.4 to 3.1.5. Lockfile-only change (3 lines: version, resolved, integrity); no package.json edits are needed because the existing ^3.0.1 range already admits the patched release.

Why

Resolves Dependabot alert https://github.com/QoderAI/better-harness/security/dependabot/5GHSA-7p8r-x3mc-p8w7 / CVE-2026-18446 (high, CWE-436). fast-uri before 3.1.5 only recognizes a literal // authority introducer, so a reference using \\, /\, or \/ folds the host into the path while Node's WHATWG URL (used by fetch/undici) reads it as a host — a host-confusion desync for any allowlist or SSRF filter built on fast-uri.

Dependency path: @docusaurus/core -> webpack-dev-server -> schema-utils -> ajv -> fast-uri. Impact here is limited to the docs build toolchain, but the alert is on the default branch, so it stays open until the patched pin lands.

Note: this closes a Dependabot alert, not issue #5 (an unrelated, already-closed adapters issue), so no Closes trailer is used. GitHub resolves the alert automatically once the lockfile fix is on main.

Validation

  • npm ls fast-uri in docs/ resolves 3.1.5, and the installed tree on disk is 3.1.5 (a --package-lock-only update alone leaves the old copy in node_modules, so it was reinstalled and re-verified).
  • npm run build in docs/ succeeds for both en and zh-Hans.
  • node --test test/dependency-governance.test.mjs test/docs-site.test.mjs test/docs-dx.test.mjs → 16/16 pass.

Risk

Low. Patch-level bump of a build-time transitive dependency, verified by a full docs production build.

Dependabot alert 5 flags GHSA-7p8r-x3mc-p8w7 (CVE-2026-18446, high): fast-uri
below 3.1.5 does not treat a backslash authority introducer as equivalent to
`//`, so its host extraction can disagree with Node's WHATWG URL parser. The
package is a transitive docs-site dependency reached through
@docusaurus/core -> webpack-dev-server -> schema-utils -> ajv, and the existing
`^3.0.1` range already admits the patched release, so only the docs lockfile
pin moves.

Validation: docs `npm ls fast-uri` resolves 3.1.5 with the installed tree on
disk at 3.1.5, `npm run build` in docs succeeds for both en and zh-Hans, and
node --test over dependency-governance, docs-site, and docs-dx passes (16/16).

Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
@phodal
phodal merged commit 89809f2 into main Aug 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant