WordPress · The Carousel · CVE-2024-2949
**Name of the Vulnerable Software and Affected Versions**
The Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce plugin for WordPress versions up to, and including, 2.6.3
**Description**
The issue is related to Stored Cross-Site Scripting via the carousel widget due to insufficient input sanitization and output escaping on user-supplied attributes. This allows authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
**Recommendations**
For versions up to, and including, 2.6.3, update to a version higher than 2.6.3 to resolve the issue. As a temporary workaround, consider restricting access to the carousel widget for users with contributor-level access and above until a patch is available. Additionally, ensure proper input validation and output escaping for all user-supplied attributes to minimize the risk of exploitation.