CVE-2020-29315 Cross-site scripting in ThinkAdmin
Remote attackers can inject arbitrary web scripts or HTML into ThinkAdmin, potentially leading to session hijacking or data theft.
- 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-29315?
CVE-2020-29315 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Dec 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
ThinkAdmin version v1 v6 has a stored XSS vulnerability which allows remote attackers to inject an arbitrary web script or HTML.
Weakness: CWE-79
Which versions are affected by CVE-2020-29315?
2 open source packages ship an affected version, including zoujingli/thinkadmin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
zoujingli/thinkadmin Packagist | All versions | 6.0.22 |
zoujingli/thinkadmin Packagist | All versions | 6.0.22 |
Products include Thinkadmin Thinkadmin.
How do I fix CVE-2020-29315?
Upgrade zoujingli/thinkadmin to 6.0.22 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-29315 being exploited?
There is no known exploitation of CVE-2020-29315 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2020-23653 ThinkAdmin insecure unserialize vulnerability
- CVE-2019-11018 ThinkAdmin Administrator cookies still working after password change
- CVE-2023-48965 File upload in n/a
- CVE-2023-48966 ThinkAdmin arbitrary file upload vulnerability
- CVE-2020-35296 ThinkAdmin Admin Panel Access using Default Credentials
Sources
Also known as GHSA-v47f-vp3p-5j6h.