CVE-2023-52084 Winter CMS Stored XSS through Backend ColorPicker FormWidget

Low 2.0 Published Updated

Authenticated users can inject malicious scripts via the ColorPicker widget in backend forms, leading to stored XSS attacks.

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

What is CVE-2023-52084?

CVE-2023-52084 is a low-severity cross-site scripting vulnerability in wintercms winter, published on 28 Dec 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Winter is a free, open-source content management system. Prior to 1.2.4, Users with access to backend forms that include a ColorPicker FormWidget can provide a value that would then be rendered unescaped in the backend form, potentially allowing for a stored XSS attack. This issue has been patched in v1.2.4.

Weakness: CWE-79

Which versions are affected by CVE-2023-52084?

2 open source packages ship an affected version, including winter/wn-backend-module. It affects 1 product.

PackageAffectedFixed in
winter/wn-backend-module PackagistAll versions1.2.4
winter/wn-backend-module PackagistAll versions1.2.4

Products include Wintercms Winter.

How do I fix CVE-2023-52084?

Upgrade winter/wn-backend-module to 1.2.4 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-2023-52084 being exploited?

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

Sources

Also known as GHSA-43w4-4j3c-jx29.

Is CVE-2023-52084 in your software?

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

Check your SBOMs for free