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

Published Jul 9, 2024
·
Updated

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

Affected Software

3 affected components
Joomla Joomla\!>=3.0.0<=3.10.15
Joomla Joomla\!>=4.0.0<=4.4.5
Joomla Joomla\!>=5.0.0<=5.1.1

Event History

Jul 9, 2024
CVE Published
via MITRE·04:15 PM
Data Sourced
via MITRE·04:15 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-21731?

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

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203