Skip to content

Commit 8d5ea81

Browse files
authored
Bump nanoid from 3.3.16 to 3.3.18 in wp_rs_web (CVE-2026-67213) (#1538)
Fixes Dependabot alert #87 (GHSA-2v37-7h3g-55p8). nanoid < 3.3.17 has an infinite loop in `customAlphabet`/`customRandom` when called with a size of 0, a potential DoS. nanoid is a transitive dependency here, pulled in only by Tailwind's build-time `postcss` (`nanoid: "^3.3.16"`), so the vulnerable path is never reached — this is a hygiene bump. 3.3.18 stays within postcss's caret range. Lockfile-only change; node_modules is not vendored. Validated with `npm ci --dry-run` (tree resolves, integrity verified) and `npm audit` (0 vulnerabilities).
1 parent 6fd2cd9 commit 8d5ea81

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4646
### Security
4747

4848
- **Internal:** Bumped the transitive `rand` dependency to `0.9.3` and `0.8.6` to clear [RUSTSEC-2026-0097](https://rustsec.org/advisories/RUSTSEC-2026-0097.html) (`GHSA-cq8v-f236-94qc`), a low-severity unsoundness in `rand` 0.9.2 / 0.8.5. Lockfile-only; the affected code path (a custom `log` logger calling `rand::rng()` during reseed) is not exercised here.
49+
- **Internal:** Bumped `wp_rs_web`'s transitive `nanoid` dependency from `3.3.16` to `3.3.18` to clear [CVE-2026-67213](https://nvd.nist.gov/vuln/detail/CVE-2026-67213) ([GHSA-2v37-7h3g-55p8](https://github.com/advisories/GHSA-2v37-7h3g-55p8)), a denial-of-service via an infinite loop in `nanoid`'s `customAlphabet`/`customRandom` when called with a size of `0`. Lockfile-only; `nanoid` is pulled in only by Tailwind's build-time `postcss`, which never reaches the affected functions.
4950

5051
## [0.6.0] - 2026-07-16
5152

wp_rs_web/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)