VYPR
Unrated severityNVD Advisory· Published Mar 27, 2023· Updated May 5, 2025

WP Image Carousel <= 1.0.2 - Contributor+ Stored XSS

CVE-2023-0589

Description

The WP Image Carousel WordPress plugin through 1.0.2 does not sanitise and escape some parameters, which could allow users with a role as low as contributor to perform Cross-Site Scripting attacks.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing input sanitization and output escaping of parameters allows stored cross-site scripting."

Attack vector

An attacker with a Contributor-level role (or higher) can inject arbitrary JavaScript into plugin parameters that are not sanitized or escaped [ref_id=1]. When the WordPress page or post containing the WP Image Carousel shortcode is viewed by another user, the injected script executes in their browser. The attack requires only the ability to create or edit posts, which is available to Contributors in a standard WordPress installation [ref_id=1]. The payload is stored in the database and triggers on every subsequent page load, making this a stored XSS attack [CWE-79].

Affected code

The advisory does not specify exact file paths or function names [ref_id=1]. The vulnerability exists in the shortcode-handling logic of the WP Image Carousel plugin (versions through 1.0.2), where parameters accepted by the shortcode are neither sanitized on input nor escaped on output [ref_id=1].

What the fix does

No patch or fix has been published by the plugin vendor [ref_id=1]. The advisory recommends that site administrators apply proper input sanitization and output escaping to all plugin parameters, particularly those processed by shortcode handlers [ref_id=1]. Until a patched version is released, the only remediation is to disable or remove the plugin, or to restrict the Contributor role from using the plugin's shortcode via a capability check.

Preconditions

  • authThe attacker must have a WordPress user account with at least the Contributor role.
  • configThe WP Image Carousel plugin (version <= 1.0.2) must be installed and active.
  • inputThe attacker must be able to create or edit a post/page that uses the WP Image Carousel shortcode.

Reproduction

1. Log in to WordPress as a Contributor-level user. 2. Create a new post and insert the WP Image Carousel shortcode with a malicious parameter value, for example: `[image-carousel param="<script>alert('XSS')</script>"]`. 3. Publish or save the post. 4. When any user (including an Administrator) views the post, the injected JavaScript executes in their browser [ref_id=1].

Generated on May 26, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

1

News mentions

0

No linked articles in our index yet.