Advisory

GHSA-5pxh-89cx-4668

Also known as: CVE-2025-27400

Summary

Magento LTS vulnerable to stored XSS in theme config fields

Details

As reported by Aakash Adhikari, Github: @justlife4x4, the Design > Themes > Skin (Images / CSS) config field allows a Stored XSS when it contains an end script tag.

Impact
A malicious user with access to this configuration field could use a Stored XSS to affect other authenticated admin users in the admin panel.

The attack requires an admin user with configuration access, so in practice, it is not very likely to be used for gaining elevated privileges, although it could theoretically be used to impersonate other users.

image

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-03-03 19:47 UTC
Modified
2025-03-03 19:53 UTC

Affected packages and fixes

openmage/magento-lts

Packagist · All systems

Affected

  • introduced 0, fixed 20.12.3 (ecosystem)

Fixed versions

20.12.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences