PT-2025-45761 · Packagist · Openmage Magento Lts
Publicado
2025-11-03
·
Atualizado
2025-11-03
CVSS v4.0
4.6
Média
| Vetor | AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
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","<img src=x onerror=alert(123)>"
"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)
Correção
XSS
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Openmage Magento Lts