Skip to content

fix: upgrade nanoid to 3.3.18, 5.1.6 (CVE-2026-67213) - #7566

Open
anupamme wants to merge 1 commit into
Stirling-Tools:mainfrom
anupamme:fix-repo-stirling-pdf-cve-2026-67213-nanoid
Open

fix: upgrade nanoid to 3.3.18, 5.1.6 (CVE-2026-67213)#7566
anupamme wants to merge 1 commit into
Stirling-Tools:mainfrom
anupamme:fix-repo-stirling-pdf-cve-2026-67213-nanoid

Conversation

@anupamme

Copy link
Copy Markdown

Summary

Upgrade nanoid from 3.3.16 to 3.3.18, 5.1.6 to fix CVE-2026-67213.

Vulnerability

Field Value
ID CVE-2026-67213
Severity HIGH
Scanner trivy
Rule CVE-2026-67213
File frontend/package-lock.json (dependency: nanoid)
Assessment Present in dependency tree, not confirmed reachable

Description: nanoid: nanoid: Denial of Service via infinite loop in random ID generation

Evidence

Scanner confirmation: trivy rule CVE-2026-67213 flagged this pattern.

Changes

  • frontend/package.json
  • frontend/package-lock.json

Behavior Preservation

The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
@anupamme
anupamme requested a review from a team as a code owner August 19, 2026 00:22
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines ignoring generated files. Bugfix Pull requests that fix bugs labels Aug 19, 2026
@github-actions github-actions Bot added the Front End Issues or pull requests related to front-end development label Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugfix Pull requests that fix bugs Front End Issues or pull requests related to front-end development size:XS This PR changes 0-9 lines ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant