GHSA-2jqj-5qv2-xvcg ezsystems/ezplatform-richtext allows access to external entities in XML

Not scored Published

An attacker with editor privileges can exploit XML external entity injection in RichText fields to read server files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-2jqj-5qv2-xvcg?

GHSA-2jqj-5qv2-xvcg is a vulnerability in ezsystems/ezplatform-richtext, published on 10 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

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

Which versions are affected by GHSA-2jqj-5qv2-xvcg?

2 open source packages ship an affected version, including ezsystems/ezplatform-richtext.

PackageAffectedFixed in
ezsystems/ezplatform-richtext PackagistFrom 2.3.0-beta12.3.26
ezsystems/ezplatform-richtext PackagistFrom 2.3.0-beta12.3.26

How do I fix GHSA-2jqj-5qv2-xvcg?

Upgrade ezsystems/ezplatform-richtext to 2.3.26 or later.

Is GHSA-2jqj-5qv2-xvcg being exploited?

There is no known exploitation of GHSA-2jqj-5qv2-xvcg in the wild and no public exploit code.

Sources

Is GHSA-2jqj-5qv2-xvcg in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free