Skip to content

Magento LTS vulnerable to Stored XSS via TinyMCE WYSIWYG Editor

High severity GitHub Reviewed Published Dec 8, 2023 in OpenMage/magento-lts

Package

composer openmage/magento-lts (Composer)

Affected versions

< 20.2.0

Patched versions

20.2.0

Description

From HackerOne report #1948040 by Halit AKAYDIN (hltakydn)

Impact

What kind of vulnerability is it? Who is impacted?

The TinyMCE WYSIWYG editor fails to filter scripts when rendering the HTML in specially crafted HTML tags.

Patches

Has the problem been patched? What versions should users upgrade to?

This vulnerability was fixed in version 20.2.0 by upgrading TinyMCE to a recent version in OpenMage/magento-lts#3220

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

The WYSIWYG editor features could be disabled in the configuration. Possibly some WAF appliances would filter this attack.

References

Are there any links users can visit to find out more?

The attack is simply an exploit of the "onmouseover" attribute of an img element as described on OWASP XSS Filter Evasion

References

@colinmollenhour colinmollenhour published to OpenMage/magento-lts Dec 8, 2023
Published to the GitHub Advisory Database Dec 8, 2023
Reviewed Dec 8, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:L

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-9j5w-2cqc-cwj9

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.