CVE-2020-10242 Cross-site scripting in n/a
Cross-site scripting vulnerability in Joomla allows attackers to inject malicious scripts via inadequate CSS selector handling in JavaScript.
- 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-10242?
CVE-2020-10242 is a medium-severity cross-site scripting vulnerability in Joomla Joomla\!, published on 16 Mar 2020. 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
An issue was discovered in Joomla! before 3.9.16. Inadequate handling of CSS selectors in the Protostar and Beez3 JavaScript allows XSS attacks.
Weakness: CWE-79
Which versions are affected by CVE-2020-10242?
1 open source package ship an affected version, including joomla. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
joomla Bitnami | From 3.0.0 | 3.9.16 |
Products include Joomla Joomla\!.
How do I fix CVE-2020-10242?
Upgrade joomla to 3.9.16 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-10242 being exploited?
There is no known exploitation of CVE-2020-10242 in the wild and no public exploit code.
Other vulnerabilities in Joomla Joomla\!
- CVE-2016-10033 PHPMailer Command Injection
- CVE-2023-23752 Joomla! Improper Access Control
- CVE-2026-48902 Joomla! Core - [20260518] - Transport encryption downgrade for password and username reset links
- CVE-2025-25226 [20250401] - Joomla Framework - SQL injection vulnerability in quoteNameStr method of Database package
- CVE-2022-23795 [20220303] - Core - User row are not bound to a authentication mechanism
Sources
Also known as BIT-joomla-2020-10242, GHSA-8r68-cp3x-ghpf.