CVE-2024-43369: Persistent Cross-site Scripting in Ibexa RichText Field Type
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.
Published Aug 14, 2024 · Updated Aug 16, 2024
Affected packages
ibexa/fieldtype-richtext
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.6.0, < 4.6.10
- Fixed in
- 4.6.10
- Check
composer show ibexa/fieldtype-richtext
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- See "Patched versions".
- https://github.com/ibexa/fieldtype-richtext/commit/59e9c1a9da60597f60cf7338bf289dccaa7e27ca (and follow-up https://github.com/ibexa/fieldtype-richtext/commit/0a3b830e8806d5169f697351fdc48ffd95a25c67)
Workarounds
None.
References
- Same issue in v3.3: https://github.com/ezsystems/ezplatform-richtext/security/advisories/GHSA-rhm7-7469-rcpw
- Ibexa advisory: https://developers.ibexa.co/security-advisories/ibexa-sa-2024-005-persistent-xss-in-richtext
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/
Credited to 4rdr.
References
- https://github.com/ezsystems/ezplatform-richtext/security/advisories/GHSA-rhm7-7469-rcpw
- https://github.com/ibexa/fieldtype-richtext/security/advisories/GHSA-hvcf-6324-cjh7
- https://github.com/ibexa/fieldtype-richtext/commit/0a3b830e8806d5169f697351fdc48ffd95a25c67
- https://github.com/ibexa/fieldtype-richtext/commit/59e9c1a9da60597f60cf7338bf289dccaa7e27ca
- https://developers.ibexa.co/security-advisories/ibexa-sa-2024-005-persistent-xss-in-richtext
- https://nvd.nist.gov/vuln/detail/CVE-2024-43369
- https://github.com/advisories/GHSA-hvcf-6324-cjh7
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-8c2g-f8jm-5cr7
ibexa/fieldtype-richtext has an XSS vulnerability via acronym custom tag in Rich Text
medium4.8Oct 17, 2025GHSA-9qv6-4pwm-m68f
Ibexa RichText Field Type XSS vulnerabilities in back office
medium6.1Jun 13, 2025GHSA-cj3w-g42v-wcj6
ibexa/fieldtype-richtext allows access to external entities in XML
high7.1Apr 10, 2025
