# GHSA-FXWM-RX68-P5VX: XSS in richtext custom tag attributes in ezsystems/ezplatform-richtext

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2021-12-01
- Modified: 2024-11-29

## Affected versions

- ezsystems/ezplatform-richtext (Packagist): from 2.3.0, fixed in 2.3.7.1

## Description

The rich text editor does not escape attribute data when previewing custom tags. This means XSS is possible if custom tags are used, for users who have access to editing rich text content. Frontend content view is not affected, but the vulnerability could be used by editors to attack other editors. The fix ensures custom tag attribute data is escaped in the editor.

## References

- https://github.com/ezsystems/ezplatform-richtext/security/advisories/GHSA-fxwm-rx68-p5vx
- https://github.com/ezsystems/ezplatform-richtext/commit/3cebfe2ae4c22e6590632a0ff71893854a16afc5
- https://developers.ibexa.co/security-advisories/ibexa-sa-2021-010-xss-in-richtext-custom-tag-attributes
- https://github.com/ezsystems/ezplatform-richtext

Page: https://cve.now/GHSA-FXWM-RX68-P5VX

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
