CVE-2021-24525 Shortcodes Ultimate < 5.10.2 - Contributor+ Stored XSS

Medium 5.4 Published Updated

Contributors can inject malicious scripts via shortcode attributes, potentially leading to code execution or account takeover in WordPress sites using this plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-24525?

CVE-2021-24525 is a medium-severity cross-site scripting vulnerability in Unknown WordPress Shortcodes Plugin — Shortcodes Ultimate, published on 20 Sep 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Shortcodes Ultimate WordPress plugin before 5.10.2 allows users with Contributor roles to perform stored XSS via shortcode attributes. Note: the plugin is inconsistent in its handling of shortcode attributes; some do escape, most don't, and there are even some attributes that are insecure by design (like [su_button]'s onclick attribute).

Weakness: CWE-79

Which versions are affected by CVE-2021-24525?

It affects 1 product.

Products include Getshortcodes Shortcodes Ultimate.

How do I fix CVE-2021-24525?

No fix has been published for CVE-2021-24525 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-2021-24525 being exploited?

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

Sources

Also known as GHSA-m4cm-qh2r-fvg3.

Is CVE-2021-24525 in your software?

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

Check your SBOMs for free