{"id":"CVE-2025-2040","state":"PUBLISHED","title":"zhijiantianya ruoyi-vue-pro deploy special elements used in a template engine","description":"A vulnerability classified as critical was found in zhijiantianya ruoyi-vue-pro 2.4.1. Affected by this vulnerability is an unknown functionality of the file /admin-api/bpm/model/deploy. The manipulation leads to improper neutralization of special elements used in a template engine. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.","publishedAt":"2025-03-06T20:00:12.464Z","updatedAt":"2025-03-06T20:23:45.787Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","source":"VulDB"},"assigner":"VulDB","products":["zhijiantianya ruoyi-vue-pro"],"affected":[{"vendor":"zhijiantianya","product":"ruoyi-vue-pro","versions":[{"version":"2.4.1","status":"affected"}]}],"references":["https://vuldb.com/?id.298783","https://vuldb.com/?ctiid.298783","https://vuldb.com/?submit.512574","https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md"],"weaknesses":["CWE-1336","CWE-791"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/2xxx/CVE-2025-2040.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-2040","state":"PUBLISHED","datePublished":"2025-03-06T20:00:12.464Z","dateUpdated":"2025-03-06T20:23:45.787Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2025-03-06T09:27:39.518Z"},"containers":{"cna":{"title":"zhijiantianya ruoyi-vue-pro deploy special elements used in a template engine","descriptions":[{"lang":"en","value":"A vulnerability classified as critical was found in zhijiantianya ruoyi-vue-pro 2.4.1. Affected by this vulnerability is an unknown functionality of the file /admin-api/bpm/model/deploy. The manipulation leads to improper neutralization of special elements used in a template engine. The attack can be launched remotely. The exploit has been disclosed to the public and may be used."},{"lang":"de","value":"In zhijiantianya ruoyi-vue-pro 2.4.1 wurde eine kritische Schwachstelle entdeckt. Dabei geht es um eine nicht genauer bekannte Funktion der Datei /admin-api/bpm/model/deploy. Dank Manipulation mit unbekannten Daten kann eine improper neutralization of special elements used in a template engine-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung."}],"affected":[{"vendor":"zhijiantianya","product":"ruoyi-vue-pro","versions":[{"version":"2.4.1","status":"affected"}]}],"references":[{"url":"https://vuldb.com/?id.298783","name":"VDB-298783 | zhijiantianya ruoyi-vue-pro deploy special elements used in a template engine","tags":["vdb-entry"]},{"url":"https://vuldb.com/?ctiid.298783","name":"VDB-298783 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.512574","name":"Submit #512574 | https://gitee.com/zhijiantianya/ruoyi-vue-pro ruoyi-vue-pro 2.4.1 SSTI","tags":["third-party-advisory"]},{"url":"https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md","tags":["exploit"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.3,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":6.3,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":6.3,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":6.5,"vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","type":"CWE","lang":"en","description":"Improper Neutralization of Special Elements Used in a Template Engine"}]},{"descriptions":[{"cweId":"CWE-791","type":"CWE","lang":"en","description":"Incomplete Filtering of Special Elements"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2025-03-06T20:00:12.464Z"},"timeline":[{"time":"2025-03-06T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2025-03-06T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2025-03-06T10:32:49.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"uglory (VulDB User)","type":"reporter"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-06T20:23:20.541970Z","id":"CVE-2025-2040","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":"2025-03-06T20:23:45.787Z"}}]}}}