Skip to main content
CVE-2024-54762VulnerabilityPublished Updated

CVE-2024-54762: RuoYi · n/a

Affects RuoYiSource CVE Database V5

0

Not known to be exploited · CVSS 6.3 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 19% 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:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jan 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubyangzongzhuan/RuoYipkg:github/yangzongzhuan/RuoYiOther threatsAffected
  • >=4.0.0 <=4.7.9
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-54762, organizations should first restrict access to the Ruoyi application to trusted users and enforce strong authentication mechanisms to reduce the risk of compromised credentials. Developers should review and enhance the filterKeyword method or replace it with a more robust input validation and sanitization approach, such as using parameterized queries (prepared statements) to prevent SQL injection entirely. Until an official patch is available, implementing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious SQL injection patterns can provide an additional layer of defense. Regularly auditing user activities and monitoring logs for unusual database queries or errors can help detect attempted exploitation. Organizations should also educate users about the risks of phishing and credential compromise to minimize the likelihood of attackers gaining authenticated access. Finally, maintaining an up-to-date inventory of affected systems and preparing for rapid patch deployment once available is critical for long-term security.

Description

Ruoyi v.4.7.9 and before contains an authenticated SQL injection vulnerability. This is because the filterKeyword method does not completely filter SQL injection keywords, resulting in the risk of SQL injection.

References

Community reviews

Loading reviews…