{"id":"CVE-2021-27884","aliases":["GHSA-2h3h-vw8r-82rp"],"url":"https://o3.security/vulnerability/CVE-2021-27884","summary":"Weak JSON Web Token in yapi-vendor","details":"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.","published":"2021-03-01T23:15:13.267Z","modified":"2026-07-09T01:06:32.891480Z","cvss":{"score":5.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"epss":{"score":0.00338,"percentile":0.2689,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"yapi-vendor","fixedVersion":"1.9.3"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/YMFE/yapi/issues/2117"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T01:06:32.891480Z"}}