{"id":"CVE-2024-42900","details":"Ruoyi v4.7.9 and before was discovered to contain a cross-site scripting (XSS) vulnerability via the sql parameter of the createTable() function at /tool/gen/create.","modified":"2026-08-12T03:51:18.225295780Z","published":"2024-08-28T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42900.json"},"references":[{"type":"WEB","url":"https://g03m0n.github.io/posts/cve-2024-42900/"},{"type":"WEB","url":"https://gitee.com/y_project/RuoYi"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42900.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42900"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yangzongzhuan/ruoyi","events":[{"introduced":"0"},{"last_affected":"4f5bf990bf5663b729ea5b14d13e14adb3d26d5a"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"4.7.9"}]}}],"versions":["v4.7.9","v4.7.8","v4.7.7","v4.7.6","v4.7.5","v4.7.4","v4.7.3","v4.7.2","v4.7.1","v4.7.0","v4.6.2","v4.6.1","v4.6.0","v4.5.1","v4.5.0","v4.4","v4.3.1","v4.3","v4.2","v4.1","v4.0","v3.4","v3.3","v3.2","v3.1","v2.4","v2.3","v2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42900.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}