CVE-2020-23049 Cross-site scripting in forkcms

Medium 5.4 Published Updated

Attackers can execute arbitrary web scripts via the Displayname field in Fork CMS, potentially compromising user 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 CVE-2020-23049?

CVE-2020-23049 is a medium-severity cross-site scripting vulnerability in n/a, published on 22 Oct 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

Fork CMS Content Management System v5.8.0 was discovered to contain a cross-site scripting (XSS) vulnerability in the `Displayname` field when using the `Add`, `Edit` or `Register' functions. This vulnerability allows attackers to execute arbitrary web scripts or HTML.

Weakness: CWE-79

Which versions are affected by CVE-2020-23049?

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

PackageAffectedFixed in
forkcms/forkcms PackagistAll versions5.8.1
forkcms/forkcms PackagistAll versions5.8.1

Products include Fork-Cms Fork Cms.

How do I fix CVE-2020-23049?

Upgrade forkcms/forkcms to 5.8.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 CVE-2020-23049 being exploited?

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

Sources

Also known as GHSA-3374-7h99-xr85.

Is CVE-2020-23049 in your software?

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

Check your SBOMs for free