CVE-2026-4665: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in shapedplugin Carousel, Slider, Photo Gallery with Lightbox, Video Slider, by WP Carousel
CVE-2026-4665 is a stored cross-site scripting (XSS) vulnerability in the WP Carousel Free plugin for WordPress, affecting all versions up to 2.7.10. The issue arises when the plugin's fancybox configuration script reads the carousel container's ID from the DOM without sanitization, causing a JavaScript error if the ID contains invalid jQuery selector characters. This error triggers fallback to default caption handling, which renders the data-caption attribute as raw HTML. Authenticated users with Contributor-level access or higher can exploit this to inject arbitrary scripts that execute when users click images in the carousel lightbox. The vulnerability has a CVSS 3.1 score of 6.4 (medium severity). No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
The WP Carousel Free WordPress plugin suffers from a stored XSS vulnerability due to improper input neutralization in its fancybox configuration. Specifically, the plugin reads the carousel container's ID directly from the DOM to build a jQuery selector without sanitization. If a Contributor-level attacker crafts a malformed carousel container ID containing characters invalid for jQuery selectors, the fancybox configuration script throws a JavaScript error and fails to initialize. This causes the bundled fancybox library (v3.5.7) to revert to default caption handling, which renders the data-caption attribute content as raw HTML. Since WordPress permits data-* attributes via wp_kses_post(), this allows injection of arbitrary scripts in pages, executing when users interact with the carousel lightbox images. The vulnerability affects all versions up to and including 2.7.10. No patch or official fix has been published as of the data provided.
Potential Impact
An authenticated attacker with Contributor-level or higher privileges can inject arbitrary JavaScript code into pages containing the vulnerable carousel. This script executes in the context of users who view and interact with the carousel lightbox images, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not allow privilege escalation or denial of service but compromises confidentiality and integrity of user sessions. The CVSS score of 6.4 reflects a medium severity impact with network attack vector, low attack complexity, and no user interaction required beyond clicking an image.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Since the vendor advisory or patch information is not provided, patch status is not yet confirmed—check the vendor advisory for current remediation guidance. Until a fix is released, restrict Contributor-level user privileges where possible and monitor for suspicious activity related to carousel usage. Avoid allowing untrusted users to create or edit carousel content. Consider disabling or replacing the plugin if feasible to mitigate risk.
CVE-2026-4665: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in shapedplugin Carousel, Slider, Photo Gallery with Lightbox, Video Slider, by WP Carousel
Description
CVE-2026-4665 is a stored cross-site scripting (XSS) vulnerability in the WP Carousel Free plugin for WordPress, affecting all versions up to 2.7.10. The issue arises when the plugin's fancybox configuration script reads the carousel container's ID from the DOM without sanitization, causing a JavaScript error if the ID contains invalid jQuery selector characters. This error triggers fallback to default caption handling, which renders the data-caption attribute as raw HTML. Authenticated users with Contributor-level access or higher can exploit this to inject arbitrary scripts that execute when users click images in the carousel lightbox. The vulnerability has a CVSS 3.1 score of 6.4 (medium severity). No official patch or remediation guidance is currently available.
CVSS v3.1
Score 6.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The WP Carousel Free WordPress plugin suffers from a stored XSS vulnerability due to improper input neutralization in its fancybox configuration. Specifically, the plugin reads the carousel container's ID directly from the DOM to build a jQuery selector without sanitization. If a Contributor-level attacker crafts a malformed carousel container ID containing characters invalid for jQuery selectors, the fancybox configuration script throws a JavaScript error and fails to initialize. This causes the bundled fancybox library (v3.5.7) to revert to default caption handling, which renders the data-caption attribute content as raw HTML. Since WordPress permits data-* attributes via wp_kses_post(), this allows injection of arbitrary scripts in pages, executing when users interact with the carousel lightbox images. The vulnerability affects all versions up to and including 2.7.10. No patch or official fix has been published as of the data provided.
Potential Impact
An authenticated attacker with Contributor-level or higher privileges can inject arbitrary JavaScript code into pages containing the vulnerable carousel. This script executes in the context of users who view and interact with the carousel lightbox images, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not allow privilege escalation or denial of service but compromises confidentiality and integrity of user sessions. The CVSS score of 6.4 reflects a medium severity impact with network attack vector, low attack complexity, and no user interaction required beyond clicking an image.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Since the vendor advisory or patch information is not provided, patch status is not yet confirmed—check the vendor advisory for current remediation guidance. Until a fix is released, restrict Contributor-level user privileges where possible and monitor for suspicious activity related to carousel usage. Avoid allowing untrusted users to create or edit carousel content. Consider disabling or replacing the plugin if feasible to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-23T17:12:42.424Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f96cc0cbff5d86109c3906
Added to database: 5/5/2026, 4:06:24 AM
Last enriched: 5/12/2026, 6:26:10 AM
Last updated: 6/20/2026, 5:08:24 AM
Views: 63
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.