CVE-2022-37429 Stored XSS using HTMLEditor

Medium 5.4 Published Updated

Attackers can execute arbitrary JavaScript in victim browsers by injecting payloads into link href attributes using whitespace obfuscation.

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 CVE-2022-37429?

CVE-2022-37429 is a medium-severity cross-site scripting vulnerability in n/a, published on 23 Nov 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Silverstripe silverstripe/framework through 4.11 allows XSS (issue 1 of 2) via JavaScript payload to the href attribute of a link by splitting a javascript URL with white space characters.

Weakness: CWE-79

Which versions are affected by CVE-2022-37429?

2 open source packages ship an affected version, including silverstripe/framework. It affects 1 product.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 4.0.04.11.13
silverstripe/framework PackagistFrom 4.0.04.11.13

Products include Silverstripe Framework.

How do I fix CVE-2022-37429?

Upgrade silverstripe/framework to 4.11.13 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 CVE-2022-37429 being exploited?

There is no known exploitation of CVE-2022-37429 in the wild and no public exploit code.

Sources

Also known as GHSA-wc6r-4ggc-79w5.

Is CVE-2022-37429 in your software?

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

Check your SBOMs for free