CVE-2020-25915 ThinkCMF Cross-site Scripting Vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
thinkcmf/thinkcmf Packagist | All versions | 5.1.7 |
thinkcmf/thinkcmf Packagist | All versions | 5.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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4847-gqxx-v9xp.