CVE-2025-64174: Openmage/magento lts Cross-Site Scripting Vulnerability
MODERATECVE-2025-64174 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Openmage/magento lts libraries in the Packagist ecosystem. The issue involves openmage vulnerable to xss in admin notifications. Remediation is available by upgrading affected packages to version 20.16.0.
CVE-2025-64174 at a Glance
How to Fix CVE-2025-64174
To remediate this vulnerability, upgrade all affected Openmage/magento lts dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade openmage/magento-lts to 20.16.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for openmage/magento-lts
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-64174, inspect your project dependencies for Openmage/magento lts:
inspect dependencies for openmage/magento-lts
Analyze the terminal output to locate any version of Openmage/magento lts in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 20.16.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Openmage/magento lts, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64174 Affected Openmage/magento lts Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
openmage/magento-lts
|
Packagist |
< 20.16.0
|
20.16.0
|
References
Frequently Asked Questions
What is CVE-2025-64174?
Which Openmage/magento lts versions are affected?
What version fixes CVE-2025-64174?
Is openmage/magento-lts affected?
What CWE is associated with CVE-2025-64174?
How can I check Packagist dependencies for CVE-2025-64174?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qv78-c8hc-438r",
"modified" : "2025-11-06T23:13:18Z",
"published" : "2025-11-03T20:24:10Z",
"aliases" : [ "CVE-2025-64174" ],
"summary" : "OpenMage vulnerable to XSS in Admin Notifications",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "openmage/magento-lts"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "20.16.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/OpenMage/magento-lts/security/advisories/GHSA-qv78-c8hc-438r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64174"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenMage/magento-lts/commit/9d604f5489851c54a96fca31b0e13c414b0fb20a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OpenMage/magento-lts"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-03T20:24:10Z",
"nvd_published_at" : "2025-11-06T21:15:43Z"
}
}