CVE-2022-35585 ForkCMS stored XSS via `start_date` parameter

Medium 4.8 Published Updated

Remote attackers can inject JavaScript via the start_date parameter in ForkCMS, potentially executing malicious scripts in victim browsers.

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-2022-35585?

CVE-2022-35585 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Aug 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

A stored cross-site scripting (XSS) issue in the ForkCMS version 5.9.3 allows remote attackers to inject JavaScript via the "start_date" Parameter

Weakness: CWE-79

Which versions are affected by CVE-2022-35585?

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

PackageAffectedFixed in
forkcms/forkcms PackagistAll versions5.11.0
forkcms/forkcms PackagistAll versions5.11.0

Products include Fork-Cms Fork Cms.

How do I fix CVE-2022-35585?

Upgrade forkcms/forkcms to 5.11.0 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-35585 being exploited?

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

Sources

Also known as GHSA-9hmc-87h4-w869.

Is CVE-2022-35585 in your software?

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

Check your SBOMs for free