GHSA-fxwm-rx68-p5vx XSS in richtext custom tag attributes in ezsystems/ezplatform-richtext

Not scored Published

Attackers with editor access can inject scripts via custom tag attributes, potentially compromising other editors' sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-fxwm-rx68-p5vx?

GHSA-fxwm-rx68-p5vx is a cross-site scripting vulnerability in ezsystems/ezplatform-richtext, published on 1 Dec 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The rich text editor does not escape attribute data when previewing custom tags. This means XSS is possible if custom tags are used, for users who have access to editing rich text content. Frontend content view is not affected, but the vulnerability could be used by editors to attack other editors. The fix ensures custom tag attribute data is escaped in the editor.

Which versions are affected by GHSA-fxwm-rx68-p5vx?

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

PackageAffectedFixed in
ezsystems/ezplatform-richtext PackagistFrom 2.3.02.3.7.1
ezsystems/ezplatform-richtext PackagistFrom 2.3.02.3.7.1

How do I fix GHSA-fxwm-rx68-p5vx?

Upgrade ezsystems/ezplatform-richtext to 2.3.7.1 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is GHSA-fxwm-rx68-p5vx being exploited?

There is no known exploitation of GHSA-fxwm-rx68-p5vx in the wild and no public exploit code.

Sources

Is GHSA-fxwm-rx68-p5vx in your software?

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

Check your SBOMs for free