fix(web-ui): bump transitive nanoid to 3.3.18, patches CVE-2026-67213 - #72
Conversation
nanoid < 3.3.18 has an infinite loop in customAlphabet/customRandom when called with size=0 (GHSA-2v37-7h3g-55p8, Dependabot alert #24). Pulled in transitively by postcss (^3.3.16, already satisfied by 3.3.18 — no other package.json/lockfile changes needed). Signed-off-by: James Rich <james.a.rich@gmail.com> Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Patches Dependabot alert #24 (GHSA-2v37-7h3g-55p8 / CVE-2026-67213, high severity):
nanoid< 3.3.18 has an infinite loop incustomAlphabet/customRandomwhen called withsize=0. Pulled in transitively bypostcss(^3.3.16, already satisfied by3.3.18) — lockfile-only change, nopackage.jsonedits needed.Test plan
npm update nanoid && npm run buildinweb-ui/— build succeeds, output unchanged in shape (gitignoredsrc/meshtastic_mcp/web/static/). Not exploitable in this codebase today (postcss doesn't pass attacker-controlledsizeto nanoid), but zero-risk patch bump, worth taking regardless.Checklist
npm run buildverified)git commit -s)