CVE-2023-52083 Stored XSS through privileged upload of Media Manager file followed by renaming

Low 2.0 Published Updated

Privileged users can execute stored XSS by renaming uploaded files, allowing attackers to inject malicious scripts into the Winter CMS interface.

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

CVE-2023-52083 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 the `media.manage_media` permission can upload files to the Media Manager and rename them after uploading. Previously, media manager files were only sanitized on upload, not on renaming, which could have allowed a stored XSS attack. This issue has been patched in v1.2.4.

Weakness: CWE-79

Which versions are affected by CVE-2023-52083?

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

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

Products include Wintercms Winter.

How do I fix CVE-2023-52083?

Upgrade winter/wn-system-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-52083 being exploited?

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

Sources

Also known as GHSA-4wvw-75qh-fqjp.

Is CVE-2023-52083 in your software?

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

Check your SBOMs for free