Description
The Advanced iFrame plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'advanced_iframe' shortcode in all versions up to, and including, 2025.5 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2025-07-26
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Update Plugin
AI Analysis

Impact

The Advanced iFrame plugin for WordPress contains a stored cross‑site scripting flaw in the 'advanced_iframe' shortcode: the plugin fails to properly sanitize or escape user‑supplied attributes. An authenticated user with contributor or higher privileges can inject arbitrary JavaScript payloads into a page title or description, and that payload is stored in the database and subsequently rendered whenever any visitor opens the page. The injected script executes in the visitor’s browser, potentially allowing an attacker to steal session cookies, deface content, or load additional malicious resources. The effect is that a single malicious contributor can compromise the browsers of any user who views the affected page.

Affected Systems

All WordPress sites that have installed mdempfle’s Advanced iFrame plugin with a version no newer than 2025.5 are vulnerable. The flaw resides in the rendering of the shortcode, so any site that uses this shortcode—regardless of theme or other plugins—is impacted.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score of less than 1% suggests that exploitation attempts are currently rare. The vulnerability is not listed in the CISA KEV catalog, meaning there are no confirmed large‑scale exploit campaigns at this time. Attack requires that the user be authenticated with at least contributor privileges, narrowing the attacker pool to users who have been granted editing access. Based on the description, the likely attack vector is the execution of injected scripts in ordinary users’ browsers when they view an affected page; this inference follows from the stored‑content nature of the flaw.

Generated by OpenCVE AI on April 22, 2026 at 04:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Check the vendor’s website or the WordPress plugin repository for an updated version of the Advanced iFrame plugin that resolves the XSS issue and install it immediately
  • If no patch is available right now, permanently remove or disable the 'advanced_iframe' shortcode from posts, pages, or templates to eliminate the attack surface
  • Restrict the Contributor role so that users who cannot edit shortcodes are not permitted to add or modify 'advanced_iframe' content, thereby limiting the potential for exploitation.

Generated by OpenCVE AI on April 22, 2026 at 04:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-22786 The Advanced iFrame plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'advanced_iframe' shortcode in all versions up to, and including, 2025.5 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
History

Mon, 28 Jul 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 28 Jul 2025 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Sat, 26 Jul 2025 07:00:00 +0000

Type Values Removed Values Added
Description The Advanced iFrame plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'advanced_iframe' shortcode in all versions up to, and including, 2025.5 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Advanced iFrame <= 2025.5 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:58:54.422Z

Reserved: 2025-07-01T20:42:43.684Z

Link: CVE-2025-6987

cve-icon Vulnrichment

Updated: 2025-07-28T16:04:36.472Z

cve-icon NVD

Status : Deferred

Published: 2025-07-26T07:15:25.770

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-6987

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T04:15:07Z

Weaknesses