{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-27884","published":"2021-03-01T23:15:13.267000Z","last_modified":"2026-06-17T03:45:33.210000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-330"],"cpes":[{"criteria":"cpe:2.3:a:ymfe:yapi:*:*:*:*:*:*:*:*","part":"a","vendor":"ymfe","product":"yapi","version_end_including":"1.9.2"}],"cpes_truncated":false,"vendors":["ymfe"],"products":["ymfe/yapi"],"epss":{"score":0.00342,"percentile":0.29754,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2h3h-vw8r-82rp","ecosystem":"npm","name":"yapi-vendor","purl":"pkg:npm/yapi-vendor","ranges":[{"introduced":"0","fixed":"1.9.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":31,"links":{"html_es":"/es/cve/CVE-2021-27884/","html_en":"/en/cve/CVE-2021-27884/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-27884","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-27884"},"untrusted":{"vendor_name":"Ymfe","product_name":"Yapi","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/YMFE/yapi/issues/2117","tags":["Third Party Advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-228-YMFE-yapi","tags":["Third Party Advisory"]}]}}