Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-42900
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:41 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-42900
Complete source record
{
"id": "3e44ab96af3ef72f417143d35808e03870da57b48ac4c26416bd774d46bb73db",
"url": "https://osv.dev/vulnerability/CVE-2024-42900",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-42900",
"summary": "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.",
"evidence": "osv:CVE-2024-42900",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-42900",
"aliases": [
"CVE-2024-42900"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/yangzongzhuan/ruoyi",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "4f5bf990bf5663b729ea5b14d13e14adb3d26d5a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.7.9"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:52.580025872Z",
"provider": "osv",
"references": [
"https://g03m0n.github.io/posts/cve-2024-42900/",
"https://gitee.com/y_project/RuoYi",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42900.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-42900"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42900.json"
}
},
"related_cves": [
{
"value": "CVE-2024-42900",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521439,
"published_at": "2024-08-28T00:00:00+00:00"
}