{"id":"CVE-2024-6511","state":"PUBLISHED","title":"y_project RuoYi Content-Type isJsonRequest cross site scripting","description":"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.","publishedAt":"2024-07-04T19:00:08.627Z","updatedAt":"2024-08-01T21:41:03.826Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"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","source":"VulDB"},"assigner":"VulDB","products":["y_project RuoYi"],"affected":[{"vendor":"y_project","product":"RuoYi","versions":[{"version":"4.7.0","status":"affected"},{"version":"4.7.1","status":"affected"},{"version":"4.7.2","status":"affected"},{"version":"4.7.3","status":"affected"},{"version":"4.7.4","status":"affected"},{"version":"4.7.5","status":"affected"},{"version":"4.7.6","status":"affected"},{"version":"4.7.7","status":"affected"},{"version":"4.7.8","status":"affected"},{"version":"4.7.9","status":"affected"}],"modules":["Content-Type Handler"]}],"references":["https://vuldb.com/?id.270343","https://vuldb.com/?ctiid.270343","https://gitee.com/y_project/RuoYi/issues/IA8O7O"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6511.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-6511","state":"PUBLISHED","datePublished":"2024-07-04T19:00:08.627Z","dateUpdated":"2024-08-01T21:41:03.826Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2024-07-04T11:21:05.317Z"},"containers":{"cna":{"title":"y_project RuoYi Content-Type isJsonRequest cross site scripting","descriptions":[{"lang":"en","value":"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."},{"lang":"de","value":"In y_project RuoYi bis 4.7.9 wurde eine problematische Schwachstelle entdeckt. Dabei geht es um die Funktion isJsonRequest der Komponente Content-Type Handler. Durch das Manipulieren des Arguments HttpHeaders.CONTENT_TYPE mit unbekannten Daten kann eine cross site scripting-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung."}],"affected":[{"vendor":"y_project","product":"RuoYi","versions":[{"version":"4.7.0","status":"affected"},{"version":"4.7.1","status":"affected"},{"version":"4.7.2","status":"affected"},{"version":"4.7.3","status":"affected"},{"version":"4.7.4","status":"affected"},{"version":"4.7.5","status":"affected"},{"version":"4.7.6","status":"affected"},{"version":"4.7.7","status":"affected"},{"version":"4.7.8","status":"affected"},{"version":"4.7.9","status":"affected"}],"modules":["Content-Type Handler"]}],"references":[{"url":"https://vuldb.com/?id.270343","name":"VDB-270343 | y_project RuoYi Content-Type isJsonRequest cross site scripting","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.270343","name":"VDB-270343 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://gitee.com/y_project/RuoYi/issues/IA8O7O","tags":["exploit","issue-tracking"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.3,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":3.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.5,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":4,"vectorString":"AV:N/AC:L/Au:S/C:N/I:P/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79 Cross Site Scripting"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2024-07-04T19:00:08.627Z"},"timeline":[{"time":"2024-07-04T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2024-07-04T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2024-07-04T13:26:48.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"VulDB Gitee Analyzer","type":"tool"}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"y_project","product":"ruoyi","defaultStatus":"unknown","versions":[{"version":"4.70","status":"affected"},{"version":"4.71","status":"affected"},{"version":"4.72","status":"affected"},{"version":"4.73","status":"affected"},{"version":"4.74","status":"affected"},{"version":"4.75","status":"affected"},{"version":"4.76","status":"affected"},{"version":"4.77","status":"affected"},{"version":"4.78","status":"affected"},{"version":"4.79","status":"affected"}],"cpes":["cpe:2.3:a:y_project:ruoyi:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-05T13:39:34.380108Z","id":"CVE-2024-6511","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-05T13:45:38.565Z"}},{"title":"CVE Program Container","references":[{"url":"https://vuldb.com/?id.270343","name":"VDB-270343 | y_project RuoYi Content-Type isJsonRequest cross site scripting","tags":["vdb-entry","technical-description","x_transferred"]},{"url":"https://vuldb.com/?ctiid.270343","name":"VDB-270343 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required","x_transferred"]},{"url":"https://gitee.com/y_project/RuoYi/issues/IA8O7O","tags":["exploit","issue-tracking","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T21:41:03.826Z"}}]}}}