GitHub Advisoryadvisory · npm

GHSA-75v8-2h7p-7m2m Formidable relies on hexoid to prevent guessing of filenames for untrusted executable content

LOW Published 2025-04-26 Modified 2025-05-27 Official page ↗
Aliases
CVE-2025-46653
Ecosystem
npm
Packages
formidable
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-338
Reviewed
2025-04-29

Affected packages

• npm formidable: >= 3.1.1-canary.20211030, < 3.5.3 → fixed in 3.5.3 • npm formidable: >= 2.1.0, < 2.1.3 → fixed in 2.1.3

Description

Formidable (aka node-formidable) 2.x before 2.1.3 and 3.x before 3.5.3 relies on hexoid to prevent guessing of filenames for untrusted executable content; however, hexoid is documented as not "cryptographically secure." (Also, there is a scenario in which only the last two characters of a hexoid string need to be guessed, but this is not often relevant.) NOTE: this does not imply that, in a typical use case, attackers will be able to exploit any hexoid behavior to upload and execute their own content.

Related

Alias · CVE (1)

  • CVE-2025-46653 Formidable (aka node-formidable) 2.1.0 through 3.x before 3.5.3 relies on hexoid to prevent guessing of filenames for untrusted executable… vulnerability

Weakness · CWE (1)

  • CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) weakness

References