CVE-2026-104904
Deferred Deferred - Pending Action

Local File Inclusion in Shortcodes Ultimate WordPress Plugin

Vulnerability report for CVE-2026-104904, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: Wordfence

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gn_themes Shortcodes Ultimate – Content Elements From 0 (inc) to 7.9.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-98 The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The Shortcodes Ultimate WordPress plugin up to version 7.9.1 has a Local File Inclusion vulnerability. It stems from the su_get_current_url() function improperly handling the Host request header, which is then passed to esc_url(). The [su_qrcode] shortcode uses the %CURRENT_URL% token, allowing unauthenticated attackers to include arbitrary PHP files from the active theme's root directory. If the 'Unsafe features' option is enabled, attackers can also read arbitrary post meta from any front-end page rendering the shortcode.

Detection Guidance

Check if the Shortcodes Ultimate plugin version 7.9.1 or older is installed. Inspect server logs for unusual file inclusion attempts or requests to /wp-content/themes/[theme-name]/ paths. Look for unauthenticated access to pages containing the [su_qrcode] shortcode with %CURRENT_URL% tokens.

Impact Analysis

An attacker could exploit this to execute malicious PHP files on your server, potentially taking control of your WordPress site. They might read sensitive data like post meta, including user information or other confidential content. This could lead to site defacement, data theft, or further compromise of your WordPress installation and server.

Compliance Impact

This vulnerability could lead to unauthorized access to personal data, violating GDPR's data protection principles and HIPAA's safeguards for protected health information. If exploited, it may result in data breaches, triggering mandatory breach notifications and potential fines under these regulations.

Mitigation Strategies

Update the Shortcodes Ultimate plugin to the latest version immediately. Disable the 'Unsafe features' option in plugin settings. Review server access logs for signs of exploitation. Consider temporarily disabling the plugin if an update is unavailable.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-104904. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...