Skip to content
Fencer Intel
high 7.5

GHSA-9j5w-2cqc-cwj9 json

Magento LTS vulnerable to Stored XSS via TinyMCE WYSIWYG Editor

published 2y ago modified last yr.

cvss
7.5
version 3.1, GitHub
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

From HackerOne report [#1948040](https://hackerone.com/reports/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 https://github.com/OpenMage/magento-lts/pull/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](https://cheatsheetseries.owasp.org/cheatsheets/XSS_Filter_Evasion_Cheat_Sheet.html)

Patch / fix

  • packagist openmage/magento-lts 20.2.0

Is GHSA-9j5w-2cqc-cwj9 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CVSS scores

assigned by version score vector
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:L

Affected packages

ecosystem package affected fixed in
packagist openmage/magento-lts
<20.2.0
20.2.0

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.