CVE-2026-104904 (GCVE-0-2026-104904)
Vulnerability from cvelistv5 – Published: 2026-11-21 07:45 – Updated: 2026-11-21 07:45
VLAI
EPSS
VEX
Title
Shortcodes Ultimate <= 7.9.1 - Unauthenticated Local File Inclusion via 'Host' Header via %CURRENT_URL% in [su_qrcode]
Summary
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%"].
Severity
6.5 (Medium)
CWE
- CWE-98 - Improper Control of Filename for Include/Require Statement in PHP Program
Assigner
References
8 references
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| gn_themes | Shortcodes Ultimate – Content Elements |
Affected:
0 , ≤ 7.9.1
(semver)
|
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Shortcodes Ultimate \u2013 Content Elements",
"vendor": "gn_themes",
"versions": [
{
"lessThanOrEqual": "7.9.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Jakub Herman"
}
],
"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() \u2014 which by design preserves \u0027[\u0027 and \u0027]\u0027 inside the authority so IPv6 literal hosts remain valid \u2014 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\u0027s root directory (bounded because \u0027/\u0027 inside an attribute value terminates parse_url()\u0027s host and is then percent-encoded and stripped), and \u2014 when the shipped-default \u0027Unsafe features\u0027 option remains on \u2014 to read arbitrary post meta of any post, on any front-end page that renders [su_qrcode data=\"%CURRENT_URL%\"]."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-98",
"description": "CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-21T07:45:21.766Z",
"orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
"shortName": "Wordfence"
},
"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"
}
],
"timeline": [
{
"lang": "en",
"time": "2026-10-02T15:50:43.000Z",
"value": "Vendor Notified"
},
{
"lang": "en",
"time": "2026-11-20T19:45:01.000Z",
"value": "Disclosed"
}
],
"title": "Shortcodes Ultimate \u003c= 7.9.1 - Unauthenticated Local File Inclusion via \u0027Host\u0027 Header via %CURRENT_URL% in [su_qrcode]"
}
},
"cveMetadata": {
"assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
"assignerShortName": "Wordfence",
"cveId": "CVE-2026-104904",
"datePublished": "2026-11-21T07:45:21.766Z",
"dateReserved": "2026-10-02T15:35:55.333Z",
"dateUpdated": "2026-11-21T07:45:21.766Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-104904",
"date": "2026-11-21",
"epss": "0.00584",
"percentile": "0.48817"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Shortcodes Ultimate \u2013 Content Elements",
"vendor": "gn_themes",
"versions": [
{
"lessThanOrEqual": "7.9.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"source": "security@wordfence.com"
}
],
"cveTags": [],
"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() \u2014 which by design preserves \u0027[\u0027 and \u0027]\u0027 inside the authority so IPv6 literal hosts remain valid \u2014 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\u0027s root directory (bounded because \u0027/\u0027 inside an attribute value terminates parse_url()\u0027s host and is then percent-encoded and stripped), and \u2014 when the shipped-default \u0027Unsafe features\u0027 option remains on \u2014 to read arbitrary post meta of any post, on any front-end page that renders [su_qrcode data=\"%CURRENT_URL%\"]."
}
],
"id": "CVE-2026-104904",
"lastModified": "2026-11-21T08:16:37.400",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.2,
"impactScore": 4.2,
"source": "security@wordfence.com",
"type": "Primary"
}
]
},
"published": "2026-11-21T08:16:37.247",
"references": [
{
"source": "security@wordfence.com",
"url": "https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-helpers.php#L429"
},
{
"source": "security@wordfence.com",
"url": "https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-shortcodes.php#L172"
},
{
"source": "security@wordfence.com",
"url": "https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/meta.php#L91"
},
{
"source": "security@wordfence.com",
"url": "https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/posts.php#L433"
},
{
"source": "security@wordfence.com",
"url": "https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/qrcode.php#L127"
},
{
"source": "security@wordfence.com",
"url": "https://plugins.trac.wordpress.org/changeset/3752311/shortcodes-ultimate/trunk/includes/shortcodes/qrcode.php"
},
{
"source": "security@wordfence.com",
"url": "https://wordpress.org/plugins/shortcodes-ultimate/#changelog-header"
},
{
"source": "security@wordfence.com",
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/a2036369-51ff-41dd-9c93-48014ec7b259?source=cve"
}
],
"sourceIdentifier": "security@wordfence.com",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-98"
}
],
"source": "security@wordfence.com",
"type": "Primary"
}
]
}
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…