CVE-2022-38146 URL XSS vulnerability due to outdated jquery in CMS

Medium 5.4 Published Updated

Cross-site scripting vulnerability in Silverstripe framework allows attackers to inject malicious scripts into web pages viewed by other users.

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-38146?

CVE-2022-38146 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 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 2 of 3).

Weakness: CWE-79

Which versions are affected by CVE-2022-38146?

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

PackageAffectedFixed in
silverstripe/admin PackagistFrom 1.0.01.11.3
silverstripe/admin PackagistFrom 1.0.01.11.3

Products include Silverstripe Framework.

How do I fix CVE-2022-38146?

Upgrade silverstripe/admin to 1.11.3 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-38146 being exploited?

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

Sources

Also known as GHSA-44xv-v98g-v79f.

Is CVE-2022-38146 in your software?

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

Check your SBOMs for free