NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-46653: Formidable relies on hexoid to prevent guessing of filenames for untrusted executable content

lowCVSS 3.1 3.1GHSA-75v8-2h7p-7m2m

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,…

Published Apr 26, 2025 · Updated May 27, 2025

Affected packages

formidable

Ecosystem
npm
Affected
>= 3.1.1-canary.20211030, < 3.5.3
Fixed in
3.5.3
Check
npm ls formidable

formidable

Ecosystem
npm
Affected
>= 2.1.0, < 2.1.3
Fixed in
2.1.3
Check
npm ls formidable

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to qwilr-altonius, diego-santacruz.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology