CVE-2026-4665: WP Carousel Free <= 2.7.10 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'data-caption' Attribute
shapedplugin · Carousel, Slider, Photo Gallery with Lightbox, Video Slider, by WP Carousel
Affected: shapedplugin Carousel, Slider, Photo Gallery with Lightbox, Video Slider, by WP Carousel · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 20% of scored CVEs
DescriptionCVE.org
The WP Carousel Free plugin for WordPress is vulnerable to Stored Cross-Site Scripting via crafted fancybox `data-caption` attributes in all versions up to, and including, 2.7.10. This is due to the `fancybox-config.js` script reading the carousel container's `id` attribute directly from the DOM to construct a jQuery selector without sanitization. When a Contributor crafts an HTML block with a malformed carousel container ID (containing characters invalid for jQuery selectors), the custom fancybox configuration throws a JavaScript error and fails to initialize. This causes the bundled fancybox library (v3.5.7) to fall back to its default caption handling, which renders the `data-caption` attribute content as raw HTML. Since WordPress allows `data-*` attributes through `wp_kses_post()`, 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 clicks an image in the crafted carousel lightbox.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- shapedplugin · Carousel, Slider, Photo Gallery with Lightbox, Video Slider, by WP Carouselup to and including 2.7.10
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Cross-site Scripting
- Vendor
- shapedplugin
- Published
- May 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-4665 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-79cwe.mitre.org
- wordfence.com/threat-intel/vulnerabilities/id/e75815a3-2414-47f3wordfence.com
- plugins.trac.wordpress.org/browser/wp-carousel-free/tags/2.7.10/plugins.trac.wordpress.org
- plugins.trac.wordpress.org/browser/wp-carousel-free/trunk/publicplugins.trac.wordpress.org
- plugins.trac.wordpress.org/changeset/3506878/wp-carousel-free/trplugins.trac.wordpress.org