Skip to content

bugfix: Pin nanoid to 3.3.18 to fix GHSA-2V37-7H3G-55P8 - #506

Open
ektor-vrettakis wants to merge 1 commit into
masterfrom
feature/PROD-85777-fix-nanoid-security
Open

bugfix: Pin nanoid to 3.3.18 to fix GHSA-2V37-7H3G-55P8#506
ektor-vrettakis wants to merge 1 commit into
masterfrom
feature/PROD-85777-fix-nanoid-security

Conversation

@ektor-vrettakis

@ektor-vrettakis ektor-vrettakis commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • Pin transitive nanoid dependency to 3.3.18 via npm overrides
  • Fixes GHSA-2V37-7H3G-55P8 (High): custom generators can loop indefinitely when size is zero
  • Dependency chain: sanitize-htmlpostcssnanoid

Jira

PROD-85777

Test plan

  • npm ls nanoid shows nanoid@3.3.18 overridden
  • CI green

Add npm override for transitive nanoid dependency (via postcss/sanitize-html)
to address infinite loop vulnerability in custom generators when size is zero.

PROD-85777
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