{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-104904","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","state":"PUBLISHED","assignerShortName":"Wordfence","dateReserved":"2026-10-02T15:35:55.333Z","datePublished":"2026-11-21T07:45:21.766Z","dateUpdated":"2026-11-21T07:45:21.766Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","shortName":"Wordfence","dateUpdated":"2026-11-21T07:45:21.766Z"},"affected":[{"vendor":"gn_themes","product":"Shortcodes Ultimate – Content Elements","versions":[{"version":"0","status":"affected","lessThanOrEqual":"7.9.1","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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%\"]."}],"title":"Shortcodes Ultimate <= 7.9.1 - Unauthenticated Local File Inclusion via 'Host' Header via %CURRENT_URL% in [su_qrcode]","references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/a2036369-51ff-41dd-9c93-48014ec7b259?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/qrcode.php#L127"},{"url":"https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-helpers.php#L429"},{"url":"https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-shortcodes.php#L172"},{"url":"https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/posts.php#L433"},{"url":"https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/meta.php#L91"},{"url":"https://wordpress.org/plugins/shortcodes-ultimate/#changelog-header"},{"url":"https://plugins.trac.wordpress.org/changeset/3752311/shortcodes-ultimate/trunk/includes/shortcodes/qrcode.php"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program","cweId":"CWE-98","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"credits":[{"lang":"en","type":"finder","value":"Jakub Herman"}],"timeline":[{"time":"2026-10-02T15:50:43.000Z","lang":"en","value":"Vendor Notified"},{"time":"2026-11-20T19:45:01.000Z","lang":"en","value":"Disclosed"}]}}}