Weak JSON Web Token (JWT) signing secret generation in YMFE YApi through 1.9.2 allows…
Priority LOW 23CWE-330Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
Weak JSON Web Token (JWT) signing secret generation in YMFE YApi through 1.9.2 allows recreation of other users' JWT tokens. This occurs because Math.random in Node.js is used.
Why it matters now
EPSS 0.00338 27th percentileScored 2026-11-07
Fix Fixed yapi-vendor (npm): 1.9.3
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | yapi-vendor (npm) | before 1.9.3 | 1.9.3 | Patch available | GHSA-2h3h-vw8r-82rp |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- yapi-vendor (npm) Vendor— Affected before 1.9.3 Fixed in 1.9.3 Patch available GHSA-2h3h-vw8r-82rp
Remediation
- Fix · GHSA-2h3h-vw8r-82rp yapi-vendor (npm) Fixed in 1.9.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-27884
- 2026-10-03 Alias added: GHSA-2h3h-vw8r-82rp
References
More Ymfe Yapi vulnerabilities
- TI-2021-14834 Cross Site Scripting (XSS) vulnerability in yapi 1.9.1 allows attackers to execute… CVSS 3.1MEDIUM 5.4
- TI-2025-43010 An issue pertaining to CWE-400: Uncontrolled Resource Consumption was discovered in YMFE… CVSS 3.1HIGH 7.5
- TI-2025-43009 An issue pertaining to CWE-295: Improper Certificate Validation was discovered in YMFE… CVSS 3.1HIGH 7.4
- TI-2018-12520 An issue was discovered in YMFE YApi 1.3.23. CVSS 3.0MEDIUM 5.4
- TI-2025-43011 An issue pertaining to CWE-79: Improper Neutralization of Input During Web Page… CVSS 3.1MEDIUM 5.4
Sources
- CVE-2021-27884 · CVE Program
- CVE-2021-27884 · NVD
- FIRST EPSS
- GHSA-2h3h-vw8r-82rp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences