CVE-2020-29315 Cross-site scripting in ThinkAdmin

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
zoujingli/thinkadmin PackagistAll versions6.0.22
zoujingli/thinkadmin PackagistAll versions6.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.

Sources

Also known as GHSA-v47f-vp3p-5j6h.

Is CVE-2020-29315 in your software?

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

Check your SBOMs for free