CVE-2021-24525 Shortcodes Ultimate < 5.10.2 - Contributor+ Stored XSS
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.
Other vulnerabilities in Unknown WordPress Shortcodes Plugin — Shortcodes Ultimate
- CVE-2017-18580 Code injection in n/a
- CVE-2023-23800 WordPress Shortcodes Ultimate Plugin <= 5.12.6 is vulnerable to Server Side Request Forgery (SSRF)
- CVE-2023-25040 WordPress Shortcodes Ultimate Plugin <= 5.12.6 is vulnerable to Cross Site Scripting (XSS)
- CVE-2023-0890 Shortcodes Ultimate < 5.12.8 - Subscriber+ Arbitrary Post Access
- CVE-2023-0911 Shortcodes Ultimate < 5.12.8 - Subscriber+ User Meta Disclosure
Sources
Also known as GHSA-m4cm-qh2r-fvg3.