CVE-2020-24912 qcubed reflected cross-site scripting (XSS) vulnerability
Unauthenticated attackers can execute arbitrary scripts in victim browsers via profile.php to steal session cookies and take over accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-24912?
CVE-2020-24912 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Mar 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A reflected cross-site scripting (XSS) vulnerability in qcubed (all versions including 3.1.1) in profile.php via the stQuery-parameter allows unauthenticated attackers to steal sessions of authenticated users.
Weakness: CWE-79
Which versions are affected by CVE-2020-24912?
2 open source packages ship an affected version, including qcubed/qcubed. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
qcubed/qcubed Packagist | All versions | 3.2 |
qcubed/qcubed Packagist | All versions | 3.2 |
Products include Qcubed Qcubed.
How do I fix CVE-2020-24912?
Upgrade qcubed/qcubed to 3.2 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-24912 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-24912 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in n/a
Sources
Also known as GHSA-xj4v-gp4q-h6qq.