CVE-2026-4076 Slider Bootstrap Carousel <= 1.0.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

Medium 6.4 Published Updated

Authenticated attackers can inject arbitrary scripts via shortcode attributes in the Slider Bootstrap Carousel plugin, affecting WordPress sites.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-4076?

CVE-2026-4076 is a medium-severity cross-site scripting vulnerability in felipermendes Slider Bootstrap Carousel, published on 22 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Slider Bootstrap Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'category' and 'template' shortcode attributes in all versions up to and including 1.0.7. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. The plugin uses extract() on shortcode_atts() to parse attributes, then directly outputs the $category variable into multiple HTML attributes (id, data-target, href) on lines 38, 47, 109, and 113 without applying esc_attr(). Similarly, the $template attribute flows into a class attribute on line 93 without escaping. 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.

Weakness: CWE-79

Which versions are affected by CVE-2026-4076?

How do I fix CVE-2026-4076?

No fix has been published for CVE-2026-4076 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-4076 being exploited?

There is no known exploitation of CVE-2026-4076 in the wild and no public exploit code.

Sources

Also known as GHSA-wpp9-gmq8-vmx8.

Is CVE-2026-4076 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free