# CVE-2026-104904: Shortcodes Ultimate \<= 7.9.1 - Unauthenticated Local File Inclusion via 'Host' Header via %CURRENT\_URL% in \[su\_qrcode\]

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.53% (percentile 38, 2026-11-28)
- **CWE:** CWE-98
- **Published:** 2026-11-21T07:45:21.766Z
- **Modified:** 2026-11-24T01:17:20.727Z

## Who should check

- Anyone running gn\_themes Shortcodes Ultimate – Content Elements \<= 7.9.1

## 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%"\].

## Affected and fixed versions

- gn\_themes Shortcodes Ultimate – Content Elements: \<= 7.9.1 (cvelist)

## Technologies

WordPress plugins and themes

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-104904. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104904.md
Affected: gn_themes Shortcodes Ultimate – Content Elements <= 7.9.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for gn_themes Shortcodes Ultimate – Content Elements: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-104904 being exploited?

There is no confirmed exploitation: CVE-2026-104904 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-104904?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-104904?

gn\_themes Shortcodes Ultimate – Content Elements \<= 7.9.1.

### Is there a fix for CVE-2026-104904?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-104904?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/a2036369-51ff-41dd-9c93-48014ec7b259?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/qrcode.php#L127>
- other: <https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-helpers.php#L429>
- other: <https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/functions-shortcodes.php#L172>
- other: <https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/posts.php#L433>
- other: <https://plugins.trac.wordpress.org/browser/shortcodes-ultimate/tags/7.9.1/includes/shortcodes/meta.php#L91>
- other: <https://wordpress.org/plugins/shortcodes-ultimate/#changelog-header>
- other: <https://plugins.trac.wordpress.org/changeset/3752311/shortcodes-ultimate/trunk/includes/shortcodes/qrcode.php>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-104904>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-104904> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-104904>
