{"id":"CVE-2025-28010","aliases":["CVE-2025-28010","GHSA-hm54-fg2w-2g6j"],"related":[],"kind":"vulnerability","state":"published","title":"MODX allows cross-site scripting (XSS) via an SVG file","summary":"A cross-site scripting (XSS) vulnerability has been identified in MODX prior to 3.1.0. The vulnerability allows authenticated users to upload SVG files containing malicious JavaScript code as profile images, which gets executed in victims' browsers when viewing the profile image.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A cross-site scripting (XSS) vulnerability has been identified in MODX prior to 3.1.0. The vulnerability allows authenticated users to upload SVG files containing malicious JavaScript code as profile images, which gets executed in victims' browsers when viewing the profile image.","source":"cvelist"},{"lang":"es","text":"Se ha identificado una vulnerabilidad de Cross Site Scripting (XSS) en MODX anterior a la versión 3.1.0. Esta vulnerabilidad permite a los usuarios autenticados subir archivos SVG con código JavaScript malicioso como imágenes de perfil, que se ejecutan en los navegadores de las víctimas al visualizar la imagen de perfil.","source":"nvd"}],"published":"2025-03-13T00:00:00.000Z","modified":"2026-09-10T03:50:56.835Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"3.1.0"}],"ecosystem":"Packagist","package":"modx/revolution","purl":"pkg:composer/modx/revolution","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"3.1.0"}],"vendor":"modx","product":"modx","cpe":"cpe:2.3:a:modx:modx:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/rtnthakur/CVE/blob/main/MODX/README.md","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-28010","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/modxcms/revolution","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-19T14:52:17.433Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-28010","url":"https://www.cve.org/CVERecord?id=CVE-2025-28010","licence":"CVE Terms of Use","modified":"2025-03-19T14:53:43.217Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hm54-fg2w-2g6j","url":"https://github.com/advisories/GHSA-hm54-fg2w-2g6j","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:56.835Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-28010","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-28010","licence":"Public domain","modified":"2026-06-17T09:04:27.093Z"}],"updatedAt":"2026-11-25T22:58:55.240Z","epss":{"score":0.00259,"percentile":0.18787,"date":"2026-12-02T12:00:21.000Z"}}