Medium

OpenMage vulnerable to XSS in Admin Notifications

  • Disclosed: 03.11.2025
  • Updated: 11.10.2026 10:22

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

  1. Add XSS to admin locale (e.g. app/locale/en_US/local.csv):
    "Read Details","<img src=x onerror=alert(123)>"
    "Mark as Read","<script>alert(123)</script>"
  2. Flush Cache. Make sure locale is set to en_US.
  3. Add any admin notification (e.g. via test.php)
    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();
  4. Open Admin → System → Notifications → Inbox.
  5. 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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package openmage/magento-lts < 20.16.0 20.16.0

References

CVSS score -
CVSS 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
Weakness (CWE)
CWE-79
Platform
Composer
Package
openmage/magento-lts
Disclosed
03.11.2025
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-qv78-c8hc-438r - CC BY 4.0

Vulnerability history: openmage/magento-lts

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (26) in the archive
Total entries
26
First → latest
08.2020 05.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 3
  • High 12
  • Medium 10
  • Low 1

Disclosures per year

  1. 2020: 2
  2. 2021: 4
  3. 2022: 0
  4. 2023: 8
  5. 2024: 2
  6. 2025: 2
  7. 2026: 8
Severity:
  1. High · 8.1 CVE-2026-25524 < 20.17.0 20.17.0
  2. OpenMage vulnerable to XSS in Admin Notifications this entry
    Medium CVE-2025-64174 < 20.16.0 20.16.0
  3. High · 7.5 ghsa-9j5w-2cqc-cwj9 < 20.2.0 20.2.0
  4. High · 7.5 CVE-2023-41879 < 19.5.1, >= 20.0.0, < 20.1.1 19.5.1, 20.1.1
  5. High · 7.2 CVE-2021-41231 < 19.4.22, >= 20.0.0, < 20.0.19 19.4.22, 20.0.19
  6. High · 8.8 CVE-2021-41144 < 19.4.22, >= 20.0.0, < 20.0.19 19.4.22, 20.0.19
  7. High · 7.2 CVE-2021-41143 < 19.4.22, >= 20.0.0, < 20.0.19 19.4.22, 20.0.19
  8. High · 7.2 CVE-2021-39217 < 19.4.22, >= 20.0.0, < 20.0.19 19.4.22, 20.0.19
  9. High CVE-2021-32758 < 19.4.15, >= 20.0.0, < 20.0.13 19.4.15, 20.0.13
  10. High CVE-2021-32759 < 19.4.15, >= 20.0.0, < 20.0.13 19.4.15, 20.0.13
  11. Critical · 9.1 CVE-2021-21427 < 19.4.13, >= 20.0.0, < 20.0.9 19.4.13, 20.0.9
  12. Critical · 9.8 CVE-2021-21426 < 19.4.13, >= 20.0.0, < 20.0.9 19.4.13, 20.0.9
  13. High · 8.0 CVE-2020-15244 < 19.4.8, >= 20.0.0, < 20.0.4 19.4.8, 20.0.4
  14. High · 8.0 CVE-2020-15151 < 19.4.6, >= 20.0.0, < 20.0.2 19.4.6, 20.0.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.