{"id":"CVE-2025-64174","aliases":["CVE-2025-64174","GHSA-qv78-c8hc-438r"],"related":[],"kind":"vulnerability","state":"published","title":"OpenMage is vulnerable to XSS in Admin Notifications","summary":"Magento-lts is a long-term support alternative to Magento Community Edition (CE). Versions 20.15.0 and below are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by an admin with direct database access or the admin notification feed source to inject malicious scripts into vulnerable fields. Unescaped translation strings and URLs are printed into contexts inside app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Actions.php. A malicious translation or polluted data can inject script. This issue is fixed in version 20.16.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Magento-lts is a long-term support alternative to Magento Community Edition (CE). Versions 20.15.0 and below are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by an admin with direct database access or the admin notification feed source to inject malicious scripts into vulnerable fields. Unescaped translation strings and URLs are printed into contexts inside app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Actions.php. A malicious translation or polluted data can inject script. This issue is fixed in version 20.16.0.","source":"cvelist"},{"lang":"en","text":"### Summary\nOpenMage versions v20.15.0 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by an admin with direct database access or the admin notification feed source to inject malicious scripts into vulnerable fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.\n\n### Details\nUnescaped translation strings and URLs are printed into contexts inside `app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Actions.php`. A malicious translation or polluted data can inject script. \n- Link labels use __() without escaping.\n- ’deleteConfirm()’ embeds a message without escaping.\n\n### PoC\n1. Add XSS to admin locale (e.g. app/locale/en_US/local.csv):\n    ```\n    \"Read Details\",\"<img src=x onerror=alert(123)>\"\n    \"Mark as Read\",\"<script>alert(123)</script>\"\n    ```\n2. Flush Cache. Make sure locale is set to en_US.\n3. Add any admin notification (e.g. via test.php)\n     ```\n    <?php\n    require 'app/Mage.php';\n    Mage::app('admin');\n    Mage::getModel('adminnotification/inbox')->setData([\n        'severity'  => Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE,\n        'date_added' => now(),\n        'title' => 'XSS renderer test',\n        'description' => 'Testing actions renderer',\n        'url' => 'https://example.com', // makes the \"Read Details\" link appear\n        'is_read' => 0, // makes the \"Mark as Read\" link appear\n        'is_remove' => 0,\n    ])->save();\n    ```\n4. Open Admin → System → Notifications → Inbox.\n5. Profit.\n\n### Impact\nThe vulnerability is only exploitable by an attacker with administrative or translation privileges. Malicious JavaScript may be executed in a victim’s browser when they browse to the admin page containing the vulnerable fields.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Magento-lts es una alternativa de soporte a largo plazo a Magento Community Edition (CE). Las versiones 20.15.0 e inferiores están afectadas por una vulnerabilidad de Cross-Site Scripting  (XSS) almacenado que podría ser explotada por un administrador con acceso directo a la base de datos o la fuente del feed de notificaciones del administrador para inyectar scripts maliciosos en campos vulnerables. Cadenas de traducción y URLs sin escapar se imprimen en contextos dentro de app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Actions.php. Una traducción maliciosa o datos contaminados pueden inyectar scripts. Este problema está solucionado en la versión 20.16.0.","source":"nvd"}],"published":"2025-11-03T20:24:10.000Z","modified":"2026-06-17T09:53:57.383Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 20.16.0","status":"affected"}],"vendor":"OpenMage","product":"magento-lts","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"20.16.0"}],"ecosystem":"Packagist","package":"openmage/magento-lts","purl":"pkg:composer/openmage/magento-lts","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"20.16.0"}],"vendor":"openmage","product":"magento","cpe":"cpe:2.3:a:openmage:magento:*:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-qv78-c8hc-438r","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/OpenMage/magento-lts/commit/9d604f5489851c54a96fca31b0e13c414b0fb20a","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64174","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/OpenMage/magento-lts","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-11-06T21:19:51.528Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64174","url":"https://www.cve.org/CVERecord?id=CVE-2025-64174","licence":"CVE Terms of Use","modified":"2025-11-06T21:20:10.817Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qv78-c8hc-438r","url":"https://github.com/advisories/GHSA-qv78-c8hc-438r","licence":"CC-BY-4.0","modified":"2025-11-06T23:28:52.428Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64174","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64174","licence":"Public domain","modified":"2026-06-17T09:53:57.383Z"}],"updatedAt":"2026-11-25T22:59:07.316Z","epss":{"score":0.00354,"percentile":0.2143,"date":"2026-11-30T12:00:22.000Z"}}