GHSA-cj3w-g42v-wcj6: Ibexa/fieldtype richtext Ibexa/fieldtype-richtext Allows Access To External Vulnerability
HIGHGHSA-cj3w-g42v-wcj6 is a HIGH ibexa/fieldtype-richtext allows access to external vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Ibexa/fieldtype richtext libraries in the Packagist ecosystem. The issue involves ibexa/fieldtype-richtext allows access to external entities in xml. Remediation is available by upgrading affected packages to version 4.6.19.
GHSA-cj3w-g42v-wcj6 at a Glance
How to Fix GHSA-cj3w-g42v-wcj6
To remediate this vulnerability, upgrade all affected Ibexa/fieldtype richtext dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade ibexa/fieldtype-richtext to 4.6.19
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ibexa/fieldtype-richtext
How to Check if You Are Affected
To determine whether your application is affected by GHSA-cj3w-g42v-wcj6, inspect your project dependencies for Ibexa/fieldtype richtext:
inspect dependencies for ibexa/fieldtype-richtext
Analyze the terminal output to locate any version of Ibexa/fieldtype richtext in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6.19), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Ibexa/fieldtype richtext, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-cj3w-g42v-wcj6 Affected Ibexa/fieldtype richtext Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ibexa/fieldtype-richtext
|
Packagist |
≥ 4.6.0-beta1
< 4.6.19
|
4.6.19
|
References
Frequently Asked Questions
What is GHSA-cj3w-g42v-wcj6?
Which Ibexa/fieldtype richtext versions are affected?
What version fixes GHSA-cj3w-g42v-wcj6?
Is ibexa/fieldtype-richtext affected?
What CWE is associated with GHSA-cj3w-g42v-wcj6?
How can I check Packagist dependencies for GHSA-cj3w-g42v-wcj6?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cj3w-g42v-wcj6",
"modified" : "2025-04-10T12:26:50Z",
"published" : "2025-04-10T12:26:50Z",
"aliases" : [ ],
"summary" : "ibexa/fieldtype-richtext allows access to external entities in XML",
"details" : "### Impact\nThis 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.\n\nIf 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.\n\n### Credits\nThis vulnerability was discovered and reported to Ibexa by Dennis Henke, Thorsten Niephaus, Marat Aytuganov, and Stephan Sekula of [Compass Security Deutschland GmbH](https://www.compass-security.com/en/). We thank them for reporting it responsibly to us.\n\n### Patches\n- See \"Patched versions\"\n- https://github.com/ibexa/fieldtype-richtext/commit/823cba6b5ee2e81d7d74e622ce42c1451e8e1337\n\n### Workarounds\n- 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.\n\n### References\n- https://developers.ibexa.co/security-advisories/ibexa-sa-2025-002-xxe-vulnerability-in-richtext",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "ibexa/fieldtype-richtext"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.6.0-beta1"
}, {
"fixed" : "4.6.19"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ibexa/fieldtype-richtext/security/advisories/GHSA-cj3w-g42v-wcj6"
}, {
"type" : "WEB",
"url" : "https://github.com/ibexa/fieldtype-richtext/commit/823cba6b5ee2e81d7d74e622ce42c1451e8e1337"
}, {
"type" : "WEB",
"url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2025-002-xxe-vulnerability-in-richtext"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ibexa/fieldtype-richtext"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-10T12:26:50Z",
"nvd_published_at" : null
}
}