Home / y_project / RuoYi / CVE-2024-6511
CVE-2024-6511: is it exploited, and which versions of y_project RuoYi are affected and fixed?
CVE-2024-6511 is a cross-site scripting (XSS) vulnerability in y_project RuoYi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: RuoYi 4.7.0, RuoYi 4.7.1, RuoYi 4.7.2 and 7 more (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-6511?
y_project RuoYi Content-Type isJsonRequest cross site scripting
A vulnerability classified as problematic was found in y_project RuoYi up to 4.7.9. Affected by this vulnerability is the function isJsonRequest of the component Content-Type Handler. The manipulation of the argument HttpHeaders.CONTENT_TYPE leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-270343.
From the CVE record by VulDB, last updated August 1, 2024, 21:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| y_project | RuoYi | 4.7.0 4.7.1 4.7.2 4.7.3 4.7.4 4.7.5 4.7.6 4.7.7 4.7.8 4.7.9 |
As the CVE record by VulDB states it, last updated August 1, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ruoyi | ruoyi | through 4.7.9 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:18 UTC.
How severe is CVE-2024-6511?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | VulDB |
| Low 3.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N | VulDB |
| Low 3.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N | VulDB |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N | VulDB |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-6511 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, July 5, 2024)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 29.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- VDB-270343 | y_project RuoYi Content-Type isJsonRequest cross site scripting vdb-entry, technical-description
- VDB-270343 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- https://gitee.com/y_project/RuoYi/issues/IA8O7O exploit, issue-tracking
Who found and reported it?
- VulDB Gitee Analyzer (tool)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 4, 2024
- Published
- July 4, 2024, 19:00 UTC
- CVE record updated
- August 1, 2024, 21:41 UTC by VulDB
- NVD
- Analyzed, last modified June 17, 2026, 08:18 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect RuoYi?
- Oct 12, 2026CVE-2026-108803 y_project RuoYi: session does not expire
- Oct 12, 2026CVE-2026-108802 y_project RuoYi: cross-site scripting (XSS)
- Dec 18, 2025CVE-2025-14856 y_project RuoYi: code injection (remote code execution)
- May 17, 2025CVE-2025-4819 y_project RuoYi: improper authorization
- Jan 27, 2025CVE-2025-0734 y_project RuoYi: deserialization of untrusted data
- Sep 21, 2024CVE-2024-9048 y_project RuoYi: cross-site scripting (XSS)
- Dec 28, 2023CVE-2023-7133 y_project RuoYi: cross-site scripting (XSS)
- Jul 21, 2023CVE-2023-3815 y_project RuoYi: cross-site scripting (XSS)
Questions about CVE-2024-6511
Is CVE-2024-6511 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of y_project RuoYi are affected by CVE-2024-6511?
RuoYi 4.7.0, RuoYi 4.7.1, RuoYi 4.7.2, RuoYi 4.7.3, RuoYi 4.7.4, RuoYi 4.7.5 and 4 more, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2024-6511?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-6511?
Medium (5.3, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2024-6511?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.