{"id":"CVE-2024-46076","aliases":["CVE-2024-46076"],"related":[],"kind":"vulnerability","state":"published","title":"RuoYi v4.7.9 and before has a security flaw that allows escaping from comments within the code generation feature, enabling the injection o…","summary":"RuoYi v4.7.9 and before has a security flaw that allows escaping from comments within the code generation feature, enabling the injection of malicious code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"RuoYi v4.7.9 and before has a security flaw that allows escaping from comments within the code generation feature, enabling the injection of malicious code.","source":"cvelist"},{"lang":"es","text":"RuoYi v4.7.9 y anteriores tienen una falla de seguridad que permite escapar de los comentarios dentro de la función de generación de código, lo que permite la inyección de código malicioso.","source":"nvd"}],"published":"2024-10-07T00:00:00.000Z","modified":"2026-06-17T07:55:09.207Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"4.7.9","status":"affected"}],"vendor":"ruoyi","product":"ruoyi","cpe":"cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"4.7.9"}],"vendor":"ruoyi","product":"ruoyi","cpe":"cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/yangzongzhuan/RuoYi","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/kkll5875/f237f200bae6db6b47eea3236d82ad0d","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-10-07T19:34:38.294Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-46076","url":"https://www.cve.org/CVERecord?id=CVE-2024-46076","licence":"CVE Terms of Use","modified":"2024-10-07T19:35:57.200Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-46076","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46076","licence":"Public domain","modified":"2026-06-17T07:55:09.207Z"}],"updatedAt":"2026-11-25T22:58:46.134Z","epss":{"score":0.00507,"percentile":0.44828,"date":"2026-12-01T12:00:22.000Z"}}