CVE-2020-25915 ThinkCMF Cross-site Scripting Vulnerability

Medium 5.4 Published Updated

Attackers can execute arbitrary code via crafted user_login in ThinkCMF due to a Cross Site Scripting vulnerability in UserController.php.

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

CVE-2020-25915 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Aug 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross Site Scripting (XSS) vulnerability in UserController.php in ThinkCMF version 5.1.5, allows attackers to execute arbitrary code via crafted user_login.

Weakness: CWE-79

Which versions are affected by CVE-2020-25915?

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

PackageAffectedFixed in
thinkcmf/thinkcmf PackagistAll versions5.1.7
thinkcmf/thinkcmf PackagistAll versions5.1.7

Products include Thinkcmf Thinkcmf.

How do I fix CVE-2020-25915?

Upgrade thinkcmf/thinkcmf to 5.1.7 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-25915 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-25915 exists.

Sources

Also known as GHSA-4847-gqxx-v9xp.

Is CVE-2020-25915 in your software?

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

Check your SBOMs for free