CVE-2026-104904Shortcodes Ultimate <= 7.9.1 - Unauthenticated Local File Inclusion via 'Host' Header…
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%"].
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Wordfence, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gn_themes Shortcodes Ultimate – Content Elements: affected: up to 7.9.1
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.