CVE-2025-64174: OpenMage vulnerable to XSS in Admin Notifications
Summary OpenMage 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.
Published Nov 3, 2025 · Updated Nov 6, 2025
Affected packages
openmage/magento-lts
- Ecosystem
- Composer (PHP)
- Affected
- < 20.16.0
- Fixed in
- 20.16.0
- Check
composer show openmage/magento-lts
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
OpenMage 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.
Details
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.
- Link labels use __() without escaping.
- ’deleteConfirm()’ embeds a message without escaping.
PoC
- Add XSS to admin locale (e.g. app/locale/en_US/local.csv): ``
"Read Details","" "Mark as Read","<script>alert(123)</script>"`` - Flush Cache. Make sure locale is set to en_US.
- Add any admin notification (e.g. via test.php) ``
<?php require 'app/Mage.php'; Mage::app('admin'); Mage::getModel('adminnotification/inbox')->setData([ 'severity' => Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE, 'date_added' => now(), 'title' => 'XSS renderer test', 'description' => 'Testing actions renderer', 'url' => 'https://example.com', // makes the "Read Details" link appear 'is_read' => 0, // makes the "Mark as Read" link appear 'is_remove' => 0, ])->save();`` - Open Admin → System → Notifications → Inbox.
- Profit.
Impact
The 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.
Credited to Judx.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-42458
Magento LTS: Reflected XSS - Import -> Data Flow (profiles)
medium5.3May 6, 2026CVE-2026-42155
Magento LTS has Weak API Session ID — Predictable MD5 of Time-Derived Inputs
critical9.3May 5, 2026CVE-2026-42207
Magento LTS Vulnerable to Open Redirect via Unvalidated `uenc` Parameter in `stockAction()`
medium6.1May 5, 2026CVE-2026-25524
OpenMage LTS: Phar Deserialization leads to Remote Code Execution
high8.1Apr 21, 2026CVE-2026-25525
OpenMage LTS has a Path Traversal Filter Bypass in Dataflow Module
medium4.9Apr 21, 2026CVE-2026-40098
OpenMage LTS: Cross-user wishlist import leads to private option & file disclosure
medium5.4Apr 21, 2026
