{"id":"CVE-2024-42900","sourceIdentifier":"cve@mitre.org","published":"2024-08-28T16:15:09.443","lastModified":"2026-06-17T07:50:06.033","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Se descubrió que Ruoyi v4.7.9 y versiones anteriores contenían una vulnerabilidad de cross-site scripting (XSS) a través del parámetro sql de la función createTable() en /tool/gen/create."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"ruoyi","product":"ruoyi","defaultStatus":"unknown","cpes":["cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*"],"versions":[{"version":"0","lessThanOrEqual":"4.7.9","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-08-28T15:57:57.330064Z","id":"CVE-2024-42900","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*","versionEndIncluding":"4.7.9","matchCriteriaId":"23C8B479-ECDA-4F19-8547-4129C63F3E0E"}]}]}],"references":[{"url":"https://g03m0n.github.io/posts/cve-2024-42900/","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://gitee.com/y_project/RuoYi","source":"cve@mitre.org","tags":["Product"]}]}