GHSA-cj3w-g42v-wcj6: ibexa/fieldtype-richtext allows access to external entities in XML
Impact This security advisory resolves a vulnerability in the RichText field type. By entering a maliciously crafted input into the RichText XML, an attacker could perform an attack using XML external entity (XXE) injection, which might be able to read files on the server.
Published Apr 10, 2025
Affected packages
ibexa/fieldtype-richtext
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.6.0-beta1, < 4.6.19
- Fixed in
- 4.6.19
- Check
composer show ibexa/fieldtype-richtext
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
This security advisory resolves a vulnerability in the RichText field type. By entering a maliciously crafted input into the RichText XML, an attacker could perform an attack using XML external entity (XXE) injection, which might be able to read files on the server. To exploit this vulnerability the attacker would need to already have edit permission to content with RichText fields, which typically means Editor role or higher. The fix removes unsafe elements from XML code, while preserving safe elements.
If you have a stored XXE attack in your content drafts, the fix prevents it from extracting data both during editing and preview. However, if such an attack has already been published and the result is stored in the content, it is unfortunately not possible to detect and remove it by automatic means.
Credits
This vulnerability was discovered and reported to Ibexa by Dennis Henke, Thorsten Niephaus, Marat Aytuganov, and Stephan Sekula of Compass Security Deutschland GmbH. We thank them for reporting it responsibly to us.
Patches
- See "Patched versions"
- https://github.com/ibexa/fieldtype-richtext/commit/823cba6b5ee2e81d7d74e622ce42c1451e8e1337
Workarounds
- Exploitation requires edit access to RichText content. If you can trust your editors, and you don't grant edit permission to any externals, you are not at risk in practice.
References
- https://developers.ibexa.co/security-advisories/ibexa-sa-2025-002-xxe-vulnerability-in-richtext
References
- https://github.com/ibexa/fieldtype-richtext/security/advisories/GHSA-cj3w-g42v-wcj6
- https://github.com/ibexa/fieldtype-richtext/commit/823cba6b5ee2e81d7d74e622ce42c1451e8e1337
- https://developers.ibexa.co/security-advisories/ibexa-sa-2025-002-xxe-vulnerability-in-richtext
- https://github.com/advisories/GHSA-cj3w-g42v-wcj6
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, 2025CVE-2024-43369
Persistent Cross-site Scripting in Ibexa RichText Field Type
high7.2Aug 14, 2024
