Unauthenticated local file inclusion in Shortcodes Ultimate plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-98.
Summary
The Shortcodes Ultimate plugin for WordPress by gn_themes is affected up to and including 7.9.1. Improper control of a filename for an include statement (CWE-98) lets the raw Host request header shape a URL that the su_qrcode shortcode passes to do_shortcode(). An unauthenticated remote attacker can include arbitrary PHP files that reside in the active theme's root directory. With the default Unsafe features option left on, an attacker can also read arbitrary post meta of any post.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
Description from the CNA
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%"].
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for Shortcodes Ultimate.
Written with Claude Haiku 5.5 from the sources below · 2026-11-21
Timeline
- 2026-11-21 Threatist record created from CVE-2026-104904
- 2026-11-21 Alias added: GHSA-9hgx-rj9x-5c2f
- 2026-11-24 CISA SSVC decision points changed
References
Other 8
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a2036369-51ff-41dd-9c93-48014ec7b259?source=cve
- https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/qrcode.php#L127
- https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-helpers.php#L429
- https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-shortcodes.php#L172
- https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/posts.php#L433
- https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/meta.php#L91
- https://wordpress.org/plugins/shortcodes-ultimate/#changelog-header
- https://plugins.trac.wordpress.org/changeset/3752311/shortcodes-ultimate/trunk/includes/shortcodes/qrcode.php
More gn_themes vulnerabilities
- TI-2023-00863 Shortcodes Ultimate < 5.12.8 - Subscriber+ User Meta Disclosure CVSS 3.1MEDIUM 6.5
- TI-2023-00842 Shortcodes Ultimate < 5.12.8 - Subscriber+ Arbitrary Post Access CVSS 3.1MEDIUM 6.5
- TI-2024-02988 Shortcodes Ultimate < 7.1.0 - Contributor+ Stored XSS CVSS 3.1MEDIUM 6.3
- TI-2024-06270 Shortcodes Ultimate Pro < 7.2.1 - Contributor+ Stored XSS CVSS 3.1MEDIUM 5.4
- TI-2024-02402 Shortcodes Ultimate < 7.0.5 - Contributor+ Stored XSS CVSS 3.1MEDIUM 5.4
- TI-2017-13753 The shortcodes-ultimate plugin before 5.0.1 for WordPress has remote code execution via a… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2026-104904 · CVE Program
- CVE-2026-104904 · NVD
- FIRST EPSS
- GHSA-9hgx-rj9x-5c2f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences