CVE-2024-21730 [20240702] - Core - Self-XSS in fancyselect list field layout

Medium 5.4 Published Updated

Self-XSS in Joomla CMS fancyselect field allows attackers to execute scripts in their own session, requiring user interaction.

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-2024-21730?

CVE-2024-21730 is a medium-severity cross-site scripting vulnerability in Joomla Joomla\!, published on 9 Jul 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The fancyselect list field layout does not correctly escape inputs, leading to a self-XSS vector.

Weakness: CWE-79

Which versions are affected by CVE-2024-21730?

1 open source package ship an affected version, including joomla. It affects 1 product.

PackageAffectedFixed in
joomla BitnamiFrom 4.0.05.1.2

Products include Joomla Joomla\!.

How do I fix CVE-2024-21730?

Upgrade joomla to 5.1.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-2024-21730 being exploited?

There is no known exploitation of CVE-2024-21730 in the wild and no public exploit code.

All Joomla Joomla\! vulnerabilities

Sources

Also known as BIT-joomla-2024-21730, GHSA-qcq9-h9hg-5pq2.

Is CVE-2024-21730 in your software?

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

Check your SBOMs for free