GitHub Advisoryadvisory · Packagist

GHSA-9jp8-cwwx-p64q XSS in richtext custom tag attributes in ezsystems/ezplatform-richtext

MEDIUM Published 2021-12-01 Modified 2021-11-29 Official page ↗
Ecosystem
Packagist
Packages
ezsystems/ezplatform-admin-ui
Severity
Moderate
Reviewed
2021-11-29

Affected packages

• Packagist ezsystems/ezplatform-admin-ui: >= 1.5.0, < 1.5.25.1 → fixed in 1.5.25.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