Skip to content

Bump nanoid to 3.3.18 (GHSA follow-up) - #266

Merged
SiteRelEnby merged 1 commit into
mainfrom
deps/nanoid-3.3.18
Aug 18, 2026
Merged

Bump nanoid to 3.3.18 (GHSA follow-up)#266
SiteRelEnby merged 1 commit into
mainfrom
deps/nanoid-3.3.18

Conversation

@SiteRelEnby

Copy link
Copy Markdown
Contributor

Resolves the follow-up Dependabot alert #77: the upstream 3.3.17 patch for the customAlphabet / customRandom size=0 infinite loop was incomplete, and 3.3.18 supersedes it.

Same posture as #261: transitive build-time dependency (vite -> postcss -> nanoid), not shipped to browsers, no attacker-controlled size reaches those functions, so real exposure is negligible - but the patch is free. Lockfile-only bump within postcss's ^3.3.16 constraint; only nanoid's version / resolved / integrity lines move and npm ci stays in sync.

3.3.18 is the newest release in the 3.x line postcss is pinned to, so this is as far forward as this dependency can roll until upstream cuts another backport.

Same advisory family as the 3.3.17 bump (customAlphabet/customRandom
infinite loop on size=0); the upstream 3.3.17 patch was incomplete and
3.3.18 supersedes it. Still a transitive build-time dependency
(vite -> postcss -> nanoid), still not reachable with attacker input
here. Lockfile-only: postcss's ^3.3.16 constraint permits it, so only
nanoid's version/resolved/integrity move. 3.3.18 is the newest release
in the 3.x line postcss is locked to.
@SiteRelEnby
SiteRelEnby enabled auto-merge August 18, 2026 23:26
@SiteRelEnby
SiteRelEnby merged commit cf6f328 into main Aug 18, 2026
6 checks passed
@SiteRelEnby
SiteRelEnby deleted the deps/nanoid-3.3.18 branch August 18, 2026 23:38
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