CVE-2011-2509: Joomla! Cross-site Scripting Vulnerability in Joomla CMS

joomla/joomla-cms Updated 14 Dec 2025

Summary

14/05/2022
Yes i
Moderate
5.3

CVE-2011-2509: Joomla! vulnerable to Cross-site Scripting. Affects joomla/joomla-cms versions < 1.6.4. Fixed in 1.6.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Joomla! is a widely-used open-source content management system (CMS) that allows users to build websites and online applications. It is known for its flexibility, extensibility, and user-friendly interface. However, prior to version 1.6.4, Joomla! was susceptible to multiple cross-site scripting (XSS) vulnerabilities, which could allow attackers to inject malicious scripts into web pages viewed by other users.

Vulnerability Detail

Multiple cross-site scripting (XSS) vulnerabilities exist in Joomla! versions before 1.6.4. These vulnerabilities allow remote attackers to inject arbitrary web scripts or HTML through various components, including com_contact, com_content, com_newsfeeds, and com_search. The vulnerabilities can be exploited via manipulated query strings, potentially leading to unauthorized actions or data theft when users interact with compromised pages.

How To Fix

Minimum fixed version

1.6.4

This is the first release that contains the fix.

composer require joomla/joomla-cms:1.6.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can implement input validation and sanitization on the affected components to mitigate the risk of XSS attacks. However, this is not a substitute for updating to the patched version.

Conclusion

Joomla! versions prior to 1.6.4 are vulnerable to multiple cross-site scripting (XSS) vulnerabilities that can be exploited by remote attackers. It is crucial to update to the latest version to protect your site from potential attacks. Additionally, using tools like Vulert can help monitor and alert you to any open-source vulnerabilities in your software.

See every vulnerability recorded for joomla/joomla-cms →

Share this vulnerability

FAQ

CVE-2011-2509 is an identifier for a specific vulnerability in Joomla! that allows cross-site scripting (XSS) attacks.

If you are using a version of Joomla! prior to 1.6.4, your installation is vulnerable. You can check your version in the Joomla! admin panel.

Exploiting this vulnerability can allow attackers to execute malicious scripts in the context of a user's browser, potentially leading to data theft, session hijacking, or defacement of the website.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using the composer.lock file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

While the best solution is to update to the patched version, you can implement input validation and sanitization as a temporary workaround to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for joomla/joomla-cms.

How To Fix

Minimum fixed version

1.6.4

This is the first release that contains the fix.

composer require joomla/joomla-cms:1.6.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback