Read the docs
TI-2021-09224 Aliases CVE-2021-27884GHSA-2h3h-vw8r-82rp

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—yapi-vendor (npm)before 1.9.31.9.3Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ymfe:yapi:*:*:*:*:*:*:*:*up to 1.9.2VulnerableYmfe
  • cpe:2.3:a:ymfe:yapi:*:*:*:*:*:*:*:* Versions up to 1.9.2 Vulnerable ·Ymfe

Remediation

  • Fix · GHSA-2h3h-vw8r-82rp yapi-vendor (npm) Fixed in 1.9.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-27884
  2. 2026-10-03 Alias added: GHSA-2h3h-vw8r-82rp

References

  • 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