WordPress plugins
CVE-2026-104904
Shortcodes Ultimate <= 7.9.1 - Unauthenticated Local File Inclusion via 'Host' Header via %CURRENT_URL% in [su_qrcode]
- Severity
- Medium 6.5
- Published
- 21 Nov 2026
- Last changed
- 21 Nov 2026
- Added to UpHeron
- 21 Nov 2026
- Weakness
- PHP file inclusion (CWE-98)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N- Sources
- CVE Program
Description
The Shortcodes Ultimate plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 7.9.1 This is due to su_get_current_url() interpolating the raw Host request header into the authority portion of a URL that is then passed to esc_url() — which by design preserves '[' and ']' inside the authority so IPv6 literal hosts remain valid — and the [su_qrcode] shortcode substituting that value into its data attribute (the documented %CURRENT_URL% token) before feeding it to do_shortcode(). This makes it possible for unauthenticated attackers to include arbitrary PHP files that reside within the active theme's root directory (bounded because '/' inside an attribute value terminates parse_url()'s host and is then percent-encoded and stripped), and — when the shipped-default 'Unsafe features' option remains on — to read arbitrary post meta of any post, on any front-end page that renders [su_qrcode data="%CURRENT_URL%"].
Affected software
| Software | Affected versions |
|---|---|
Shortcodes Ultimate (WordPress plugin)WordPress plugins · wp-plugin:shortcodes-ultimate |
|
About Shortcodes Ultimate – Content Elements
Add 50+ shortcodes with live preview for tabs, accordions, buttons, FAQs, sliders and boxes. Works in Block Editor and Classic Editor.
- Active installations
- 400,000+WordPress.org, 21 Nov 2026
- Latest version
- 7.9.2WordPress.org, 21 Nov 2026
- Last updated
- 17 Oct 2026WordPress.org
- Rating
- 4.9 out of 5 (5,925 ratings)WordPress.org, 21 Nov 2026
- Requires WordPress
- 6.0WordPress.org
- Requires PHP
- 7.0WordPress.org
- Tested up to WordPress
- 7.1.5WordPress.org
- Author
- VovaWordPress.org
- In the directory since
- 6 Apr 2011WordPress.org
This is the only vulnerability in Shortcodes Ultimate – Content Elements in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-104904