CVE-2024-42900: RuoYi · n/a
Affects RuoYiSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHuby_project/RuoYipkg:github/y_project/RuoYiOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-42900, organizations should implement strict input validation and output encoding for the sql parameter in the createTable() function to neutralize any embedded scripts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Until an official patch is released, consider disabling or restricting access to the /tool/gen/create endpoint to trusted users only or behind a VPN. Conduct security code reviews focusing on input handling in similar endpoints. Educate users about phishing risks and encourage cautious interaction with unexpected links or inputs. Monitor web application logs for suspicious requests targeting the vulnerable parameter. Additionally, update Ruoyi to the latest version once a patch addressing this vulnerability becomes available. Employ web application firewalls (WAFs) with rules to detect and block common XSS payloads targeting this endpoint.
Description
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.