Shortcodes Ultimate <= 7.9.1 - Unauthenticated Local File Inclusion via 'Host' Header via %CURRENT_URL% in [su_qrcode]
Summary
| CVE | CVE-2026-104904 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-21 08:16:37 UTC |
| Updated | 2026-11-21 08:16:37 UTC |
| 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%"]. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS: 0.005840000 probability, percentile 0.488400000 (date 2026-11-22)
Problem Types: CWE-98 | CWE-98 CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Gn Themes | Shortcodes Ultimate Content Elements | affected 7.9.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-hel... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-sho... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset/3752311/shortcodes-ultimate/trunk/includes/shortcod... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/qr... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/a2036369-51ff-41dd-9c93-48014... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/po... | [email protected] | plugins.trac.wordpress.org | |
| wordpress.org/plugins/shortcodes-ultimate | [email protected] | wordpress.org | |
| plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/me... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Jakub Herman (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-10-02T15:50:43.000Z | Vendor Notified |
| CNA | 2026-11-20T19:45:01.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.