Skip to content

Persistent XSS in RichText

High
glye published GHSA-rhm7-7469-rcpw Aug 14, 2024

Package

composer ezsystems/ezplatform-richtext (Composer)

Affected versions

v3.3.*

Patched versions

v3.3.40

Description

Impact

The validator for the RichText fieldtype blocklists javascript: and vbscript: in links to prevent XSS. This can leave other options open, and the check can be circumvented using upper case. Content editing permissions for RichText content is required to exploit this vulnerability, which typically means Editor role or higher. The fix implements an allowlist instead, which allows only approved link protocols. The new check is case insensitive.

Patches

Workarounds

None.

References

Credit

This vulnerability was discovered and reported to Ibexa by Alec Romano: https://github.com/4rdr
We thank them for reporting it responsibly to us.

How to report security issues:
https://doc.ibexa.co/en/latest/infrastructure_and_maintenance/security/reporting_issues/

Severity

High

CVE ID

CVE-2024-43372

Weaknesses

No CWEs

Credits