Skip to main content

WP Carousel Free CVE-2026-4665

| EUVDEUVD-2026-27181 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-05 Wordfence
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as Contributor
  2. Delivery
    Create carousel with malformed container ID
  3. Exploit
    Inject script in data-caption attribute
  4. Install
    Page visitor clicks image
  5. C2
    Fancybox configuration fails
  6. Execute
    Fallback rendering executes script
  7. Impact
    Session hijack or credential theft

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

This vulnerability requires the following specific conditions to be exploited: (1) The WordPress site must have WP Carousel Free plugin version 2.7.10 or earlier installed and activated, (2) the attacker must possess a Contributor-level account or higher on the WordPress site (standard on multi-author or community sites that allow user sign-up), (3) the attacker must create a WP Carousel Free block or shortcode with a deliberately malformed carousel container id attribute containing characters invalid for jQuery selectors (such as spaces, @, #, $, %, or other special symbols), (4) the attacker must inject the malicious script payload into the carousel image's data-caption attribute or a custom fancybox attribute that WordPress allows through wp_kses_post(), (5) a site visitor must navigate to the page containing the crafted carousel and click or interact with an image in the lightbox to trigger the fancybox fallback rendering. The vulnerability does NOT require administrator access, does NOT require the site to have non-standard security settings, and does NOT require CSRF or social engineering beyond creating malicious carousel content. Sites using WordPress's standard content filtering and without additional WAF or capability restrictions on Contributor roles are fully vulnerable. The attack is limited by the requirement that an actual visitor must click the image - passive page views do not trigger the XSS.

Impact

CVSS 6.4 (Medium) with network vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects the severity accurately: the vulnerability requires low privilege escalation (Contributor role, obtainable by sign-up on many WordPress sites) and low attack complexity, but does not require user interaction for the malicious carousel to be created - only for exploitation of visiting users. The absence of authentication bypass or privilege escalation to admin means the impact is limited to Contributor-created content and affects confidentiality and integrity of page rendering, not availability. The CVSS does not account for the practical constraint that exploitation depends on site visitors actually clicking images in the crafted carousel, which introduces some user interaction friction. The lack of active exploitation confirmation (no KEV listing, no known POC) suggests this vulnerability may be theoretical or recently disclosed with limited real-world adoption of the attack. However, the straightforward nature of the attack (creating a carousel with a malformed ID and injecting script in caption) and the low barrier to entry (Contributor access) mean this warrants patching in production environments, particularly on multi-author WordPress sites where Contributor accounts are common. The authenticated nature and requirement for actual user interaction to trigger the XSS (clicking the image) lower real-world risk compared to stored XSS in admin panels or unauthenticated contexts.

Exploit ScenarioDerived

A Contributor-level user logs into a WordPress site running WP Carousel Free 2.7.10 and creates a new page using the Gutenberg editor. The user inserts a WP Carousel Free block and deliberately sets the carousel container's id attribute to an invalid jQuery selector string such as 'carousel@#$'. They then edit the image's fancybox data-caption attribute to include a malicious script tag like <img src=x onerror='fetch("/admin")'>. When a site visitor accesses the page and clicks the carousel image, the malformed container ID causes the custom fancybox configuration to fail, triggering fallback rendering that executes the injected script in the visitor's browser, potentially stealing session cookies or redirecting to a phishing site. No public exploit proof-of-concept or automated attack tool has been identified at the time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 05, 2026

Stored Cross-Site Scripting in WP Carousel Free plugin for WordPress affects all versions up to 2.7.10, allowing authenticated attackers with Contributor-level access to inject arbitrary JavaScript via malformed carousel container IDs in the fancybox data-caption attribute. The vulnerability arises when the fancybox configuration script fails to initialize due to unsanitized DOM selectors, causing the bundled fancybox library v3.5.7 to fall back to unsafe default caption handling that renders HTML directly. This enables script execution in the context of site visitors clicking images in the compromised carousel lightbox. No public exploit code or active exploitation has been confirmed at the time of analysis.

RemediationAI

Update WP Carousel Free to a patched version released after 2.7.10 via the WordPress plugin dashboard (Plugins > Installed Plugins > WP Carousel Free > Update) or through wp-admin plugin management. The fix should sanitize or validate carousel container IDs before using them in jQuery selectors, and ensure fancybox falls back safely when configuration fails. As an immediate interim mitigation before patching, site administrators can restrict the Contributor role's ability to create or edit carousel blocks by adjusting post type capabilities using a role management plugin (e.g., User Role Editor), limiting XSS creation vectors to trusted users only - however, this reduces site functionality and is not a permanent solution. Alternatively, implement a Web Application Firewall (WAF) rule to block data-caption attributes containing script tags or event handlers before they reach storage, though this is complex and may break legitimate carousel use cases. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/e75815a3-2414-47f3-b0c4-e5d3e2cb369d provides additional technical detail and should be consulted for the exact patched version number once released.

Affected VersionsENISA

Carousel, Slider, Photo Gallery with Lightbox, Video Slider, by WP Carousel 0 ≤2.7.10

Affected Packages

euvd carousel_slider_photo_gallery_with_lightbox_video_slider_by_wp_carousel no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The WP Carousel Free plugin bundles fancybox v3.5.7, a lightbox library for displaying images in overlays. The plugin's fancybox-config.js script reads the carousel container's id attribute directly from the DOM to dynamically construct jQuery selectors without input validation. When a Contributor creates a carousel with a malformed container ID containing characters invalid for jQuery syntax (such as spaces, special characters, or brackets), the custom configuration throws a JavaScript error that prevents initialization. This triggers fancybox's fallback behavior, which processes the data-caption attribute as raw HTML instead of plain text. WordPress's wp_kses_post() sanitization function permits data-* attributes by design, allowing the injected caption content to persist in the page DOM. When a user clicks an image in the affected carousel, the malicious script in the caption executes in the user's browser context, classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy