Skip to content

Persistent XSS in RichText

High
glye published GHSA-hvcf-6324-cjh7 Aug 14, 2024

Package

composer ibexa/fieldtype-richtext (Composer)

Affected versions

v4.6.*

Patched versions

v4.6.10

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-43369

Weaknesses

No CWEs

Credits