Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce <= 2.6.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'sp_wp_carousel_shortcode'

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2024-2949
CVSS 6.4 (Medium)
Publicly Published April 5, 2024
Last Updated April 11, 2024
Researchers Phuoc Pham (p3tl0v3r) - VNPT Cyber Immunity
Ngô Thiên An (ancorn_)

Description

The Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the carousel widget in all versions up to, and including, 2.6.3 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for 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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Carousel, Slider, Photo Gallery with Lightbox, Video Slider, by WP Carousel

Software Type Plugin
Software Slug wp-carousel-free (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.6.4, or a newer patched version
Affected Version
  • <= 2.6.3
Patched Version
  • 2.6.4

Recent vulnerabilities in Carousel, Slider, Photo Gallery with Lightbox, Video Slider, by WP Carousel

# Title CVE ID CVSS Researchers Date
1 WP Carousel Free <= 2.7.10 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'data-caption' Attribute CVE-2026-4665 6.4 Webbernaut May 4, 2026
2 Carousel, Slider, Gallery by WP Carousel <= 2.7.3 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2024-13314 4.4 Krugov Artyom January 31, 2025
3 Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via FancyBox JavaScript Library CVE-2024-5020 6.4 Webbernaut December 3, 2024
4 Carousel, Slider, Gallery by WP Carousel <= 2.6.8 - Authenticated (Editor+) Stored Cross-Site Scripting CVE-2024-4002 4.4 Dmitrii Ignatyev October 30, 2024
5 Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce <= 2.6.3 - Authenticated (Admin+) PHP Object Injection CVE-2024-3020 7.2 hoanpk April 9, 2024
6 Carousel, Slider, Gallery by WP Carousel <= 2.5.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode CVE-2022-4482 6.4 István Márton December 22, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation