Skip to content

chore(deps): bump fast-uri from 3.1.7 to 3.1.9 - #668

Merged
colincasey merged 1 commit into
masterfrom
dependabot/npm_and_yarn/fast-uri-3.1.9
Nov 5, 2026
Merged

colincasey merged 1 commit into
masterfrom
dependabot/npm_and_yarn/fast-uri-3.1.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Bumps fast-uri from 3.1.7 to 3.1.9.

Release notes

Sourced from fast-uri's releases.

v3.1.9

Security

This security release fixes four URI parsing and normalization vulnerabilities in fast-uri 3.x. Applications that process untrusted URI input should upgrade to v3.1.9.

  • Medium — URI scheme spoofing through percent-encoded schemes (GHSA-w74x-v6f9-j3xg, CVE-2026-110306): percent-encoded scheme input is now rejected instead of being decoded into a live scheme.
  • Medium — Host confusion during domain-host canonicalization (GHSA-wjr9-j795-jxcr, CVE-2026-110180): malformed domain hosts containing ambiguous delimiters or stripped control characters are now rejected instead of being silently rewritten.
  • Low — Incorrect relative-reference normalization (GHSA-xhq7-xmqj-769h, CVE-2026-110095): dot-segment removal now preserves the resolution semantics of relative references.
  • Low — Scheme injection in suffix references (GHSA-333x-w4r6-6crp, CVE-2026-110725): first-segment colons in path-only suffix references are now escaped so the output is not reparsed as a scheme.

Upgrade with:

npm install fast-uri@3.1.9

Thanks to @​zekth for reporting the scheme, host, and relative-reference issues, and to @​UlisesGascon for finding the suffix-reference issue and reviewing the remediations.

What's Changed

Full Changelog: fastify/fast-uri@v3.1.8...v3.1.9

v3.1.8

⚠️ Security Warning

This security release fixes the following medium-severity security advisory:

Users of the v3.x release line should upgrade to v3.1.8.

Full Changelog: fastify/fast-uri@v3.1.7...v3.1.8

Commits
  • 0def703 Bumped v3.1.9
  • a1d0da2 test: generate only relative path references
  • 9eb8759 fix: preserve relative paths in suffix and relative resolution
  • 54c30f7 docs: note suffix-reference authority ambiguity
  • 39e6493 fix: escape a first-segment colon in suffix references
  • 745183c test: cover first-segment colon in suffix references
  • ddfc6a5 fix(SEC-03): reject non reg-name characters in domain hosts
  • d86a8d2 fix: keep a colon-first segment behind "./" in relative normalization
  • eb483b5 test: cover colon-first relative references in normalization
  • b110a35 fix(SEC-02): preserve meaning of relative references during normalization
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for fast-uri since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file npm Pull request with npm dependency update labels Oct 29, 2026
@dependabot
dependabot Bot requested a review from awaterma as a code owner October 29, 2026 14:03
@dependabot dependabot Bot added patch We expect this work to be a patch level change skip changelog No documentation needed for this PR labels Oct 29, 2026
@dependabot
dependabot Bot requested review from colincasey and wjhsf as code owners October 29, 2026 14:03
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.7 to 3.1.9.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.7...v3.1.9)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/fast-uri-3.1.9 branch from c4a0879 to 34ac551 Compare November 5, 2026 17:55
@colincasey
colincasey merged commit 34a379f into master Nov 5, 2026
11 of 13 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/fast-uri-3.1.9 branch November 5, 2026 18:08
markharding pushed a commit to futo-org/Harbor that referenced this pull request Nov 10, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [tough-cookie](https://github.com/salesforce/tough-cookie) | [`6.0.2` → `6.1.0`](https://renovatebot.com/diffs/npm/tough-cookie/6.0.2/6.1.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/tough-cookie/6.1.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tough-cookie/6.0.2/6.1.0?slim=true) |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/2097) for more information.

---

### Release Notes

<details>
<summary>salesforce/tough-cookie (tough-cookie)</summary>

### [`v6.1.0`](https://github.com/salesforce/tough-cookie/releases/tag/v6.1.0)

[Compare Source](salesforce/tough-cookie@v6.0.2...v6.1.0)

#### Notable changes

##### `Secure` cookies are rejected when set from an insecure origin ([#&#8203;656](salesforce/tough-cookie#656), [#&#8203;663](salesforce/tough-cookie#663))

`CookieJar` now refuses to store a `Secure` cookie set from a URL that isn't potentially trustworthy, such as plain `http://example.com`, per [RFC 6265bis §5.7 step 13](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-22#section-5.7-3.13.1). `https:` and `wss:` URLs are still accepted, and so are `localhost` and loopback addresses while `allowSecureOnLocal` is enabled (the default). `setCookie()` now rejects with `Cookie is Secure but this is not a secure connection`, or drops the cookie silently when `ignoreError: true` is passed.

**This changes behavior that existing v6 code may rely on.** To keep storing `Secure` cookies no matter which origin set them, opt out with:

```js
new CookieJar(store, { enforceSecureOriginOnStorage: false })
```

The opt-out applies only to storage. On retrieval, `Secure` cookies are still returned only for secure origins, the same as in v6.0.x. The setting survives `serialize()`/`deserialize()` and `clone()`.

##### Other behavior changes

- `__Host-` cookies now need an explicit `Path=/` attribute. Having the default path come out as `/` is no longer enough ([#&#8203;608](salesforce/tough-cookie#608)).
- `Cookie.validate()` now returns `false` for names that aren't valid HTTP tokens, such as empty names, names with separators or control characters, and non-ASCII names. Parsing and storage are unchanged ([#&#8203;650](salesforce/tough-cookie#650)).
- An explicit `SameSite=None` is now kept when serializing with `Cookie.toString()` and `getSetCookieStrings()`; it used to be dropped ([#&#8203;639](salesforce/tough-cookie#639)).
- An IPv4 address in the `Domain` attribute is now accepted instead of being treated as a public suffix ([#&#8203;630](salesforce/tough-cookie#630)).

##### Additions

- New exported `PrefixSecurityMode` type for the `prefixSecurity` option ([#&#8203;659](salesforce/tough-cookie#659), [#&#8203;667](salesforce/tough-cookie#667)).
- The `getCookiesSync`, `getCookieString*`, `getSetCookieStrings*` and `setCookieSync` methods now accept a `URL` as well as a `string`, matching their async counterparts ([#&#8203;655](salesforce/tough-cookie#655)).

#### What's Changed

- Fix documentation typos by [@&#8203;Martonveghcode](https://github.com/Martonveghcode) in [#&#8203;613](salesforce/tough-cookie#613)
- chore: update CODEOWNERS by [@&#8203;wjhsf](https://github.com/wjhsf) in [#&#8203;616](salesforce/tough-cookie#616)
- chore(deps): bump fast-uri from 3.1.2 to 3.1.5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;623](salesforce/tough-cookie#623)
- chore(deps): bump postcss from 8.5.16 to 8.5.25 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;622](salesforce/tough-cookie#622)
- chore(deps): bump tldts from 7.4.5 to 7.4.10 in the production-dependencies group across 1 directory by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;619](salesforce/tough-cookie#619)
- chore(deps-dev): bump brace-expansion from 2.1.0 to 2.1.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;629](salesforce/tough-cookie#629)
- chore(deps-dev): bump the dev-dependencies group across 1 directory with 9 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;628](salesforce/tough-cookie#628)
- fix: decode request path for URL object inputs, matching string inputs by [@&#8203;spokodev](https://github.com/spokodev) in [#&#8203;636](salesforce/tough-cookie#636)
- chore(deps): bump [@&#8203;vitest/mocker](https://github.com/vitest/mocker) and vitest by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;638](salesforce/tough-cookie#638)
- fix: require explicit Path attribute for \_\_Host- prefixed cookies by [@&#8203;spokodev](https://github.com/spokodev) in [#&#8203;608](salesforce/tough-cookie#608)
- chore(deps-dev): bump the dev-dependencies group across 1 directory with 6 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;645](salesforce/tough-cookie#645)
- chore(deps): bump js-yaml and [@&#8203;microsoft/api-documenter](https://github.com/microsoft/api-documenter) by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;648](salesforce/tough-cookie#648)
- chore(deps-dev): bump brace-expansion from 2.1.4 to 2.1.7 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;649](salesforce/tough-cookie#649)
- fix: treat an infinite max-age as never expiring in expiryTime() by [@&#8203;kwy404](https://github.com/kwy404) in [#&#8203;644](salesforce/tough-cookie#644)
- chore(deps): bump tldts from 7.4.10 to 7.4.16 in the production-dependencies group across 1 directory by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;632](salesforce/tough-cookie#632)
- chore(deps): bump fast-uri from 3.1.5 to 3.1.7 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;635](salesforce/tough-cookie#635)
- chore(deps): bump source-map-js from 1.2.1 to 1.2.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;652](salesforce/tough-cookie#652)
- Preserve explicit SameSite=None in cookie headers by [@&#8203;Shubham-Padkonde](https://github.com/Shubham-Padkonde) in [#&#8203;639](salesforce/tough-cookie#639)
- docs: fix README examples and references by [@&#8203;colincasey](https://github.com/colincasey) in [#&#8203;653](salesforce/tough-cookie#653)
- ci: type check test files by [@&#8203;colincasey](https://github.com/colincasey) in [#&#8203;655](salesforce/tough-cookie#655)
- fix: validate cookie names against the HTTP token grammar by [@&#8203;codesbysaravana](https://github.com/codesbysaravana) in [#&#8203;650](salesforce/tough-cookie#650)
- fix: accept IPv4 Domain attributes instead of treating them as public suffixes by [@&#8203;tzh476](https://github.com/tzh476) in [#&#8203;630](salesforce/tough-cookie#630)
- chore(deps): bump vite from 8.2.2 to 8.3.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;662](salesforce/tough-cookie#662)
- chore(deps): bump [@&#8203;vitest/mocker](https://github.com/vitest/mocker) and vitest by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;666](salesforce/tough-cookie#666)
- feat: introduce PrefixSecurityMode string literal union type by [@&#8203;reginaldalfret](https://github.com/reginaldalfret) in [#&#8203;659](salesforce/tough-cookie#659)
- fix(CookieJar): revert `prefixSecurity` refinement by [@&#8203;wjhsf](https://github.com/wjhsf) in [#&#8203;667](salesforce/tough-cookie#667)
- fix: reject Secure cookies set over untrustworthy origins by [@&#8203;awaterma](https://github.com/awaterma) in [#&#8203;656](salesforce/tough-cookie#656)
- feat: add enforceSecureOriginOnStorage option to opt out of Secure-cookie origin rejection by [@&#8203;colincasey](https://github.com/colincasey) in [#&#8203;663](salesforce/tough-cookie#663)
- ci: stop patching jsdom WPT expectations in integration tests by [@&#8203;colincasey](https://github.com/colincasey) in [#&#8203;664](salesforce/tough-cookie#664)
- chore(deps-dev): bump vitest from 4.1.12 to 5.0.5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;672](salesforce/tough-cookie#672)
- chore(deps): bump fast-uri from 3.1.7 to 3.1.9 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;668](salesforce/tough-cookie#668)
- chore(deps): bump tldts from 7.4.16 to 7.4.19 in the production-dependencies group across 1 directory by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;669](salesforce/tough-cookie#669)
- chore(deps): bump esbuild and tsup by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;674](salesforce/tough-cookie#674)
- chore(deps-dev): bump the dev-dependencies group across 1 directory with 9 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;675](salesforce/tough-cookie#675)

#### New Contributors

- [@&#8203;Martonveghcode](https://github.com/Martonveghcode) made their first contribution in [#&#8203;613](salesforce/tough-cookie#613)
- [@&#8203;spokodev](https://github.com/spokodev) made their first contribution in [#&#8203;636](salesforce/tough-cookie#636)
- [@&#8203;kwy404](https://github.com/kwy404) made their first contribution in [#&#8203;644](salesforce/tough-cookie#644)
- [@&#8203;Shubham-Padkonde](https://github.com/Shubham-Padkonde) made their first contribution in [#&#8203;639](salesforce/tough-cookie#639)
- [@&#8203;codesbysaravana](https://github.com/codesbysaravana) made their first contribution in [#&#8203;650](salesforce/tough-cookie#650)
- [@&#8203;tzh476](https://github.com/tzh476) made their first contribution in [#&#8203;630](salesforce/tough-cookie#630)
- [@&#8203;reginaldalfret](https://github.com/reginaldalfret) made their first contribution in [#&#8203;659](salesforce/tough-cookie#659)

**Full Changelog**: <salesforce/tough-cookie@v6.0.2...v6.1.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 9am on tuesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDYuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNi4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2263
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file npm Pull request with npm dependency update patch We expect this work to be a patch level change skip changelog No documentation needed for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant