CWE
79
Advisory Published
Updated

CVE-2024-21731: [20240703] - Core - XSS in StringHelper::truncate method

First published: Tue Jul 09 2024(Updated: )

Improper handling of input could lead to an XSS vector in the StringHelper::truncate method.

Credit: security@joomla.org

Affected SoftwareAffected VersionHow to fix
Joomla>=3.0.0<=3.10.15
Joomla>=4.0.0<=4.4.5
Joomla>=5.0.0<=5.1.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-21731?

    CVE-2024-21731 has been classified as a medium severity vulnerability.

  • How do I fix CVE-2024-21731?

    To fix CVE-2024-21731, you should update your Joomla installation to the latest version that addresses this vulnerability.

  • Which versions of Joomla are affected by CVE-2024-21731?

    CVE-2024-21731 affects Joomla versions from 3.0.0 to 3.10.15, 4.0.0 to 4.4.5, and 5.0.0 to 5.1.1.

  • What type of vulnerability is CVE-2024-21731?

    CVE-2024-21731 is an XSS vulnerability caused by improper handling of input in the StringHelper::truncate method.

  • Can CVE-2024-21731 be exploited remotely?

    Yes, CVE-2024-21731 can be exploited remotely if an attacker can inject malicious input that gets processed by the affected method.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203