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.2 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. This was partially patched in version 2024.5, and later improved in version 2025.3.
Published: 2025-03-26
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

The Advanced iFrame WordPress plugin allows users to embed content via a shortcode. Because insufficient input sanitization and output escaping were implemented, an attacker with contributor-level access can inject arbitrary JavaScript into the shortcode attributes. The victim’s browser executes the script when the page containing the shortcode is viewed, enabling session hijacking, defacement, or other client‑side attacks. This flaw is categorized as a classic input validation weakness (CWE‑79).

Affected Systems

The vulnerability affects the Advanced iFrame plugin for WordPress distributed by mdempfle. All released versions up to and including 2025.2 are affected; later releases (2025.3 and onward) include the fix.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity. The EPSS score of less than 1% suggests exploitation is unlikely in the short term, and the flaw is not listed in CISA’s KEV catalog. The attack requires authenticated access of contributor role or higher, likely via the WordPress admin interface where the attacker can edit or insert content containing the malicious shortcode. Once stored, the payload auto‑executes for any user who views the affected page.

Generated by OpenCVE AI on April 21, 2026 at 21:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Advanced iFrame plugin to version 2025.3 or later, which incorporates proper input validation and output escaping for the shortcode.
  • Restrict contributor or lower roles from inserting or editing content that may use the problematic shortcode; consider revoking permission to use advanced‑iframe or removing the shortcode from public posts.
  • Verify that the plugin’s shortcode output is properly escaped using WordPress’s built‑in sanitization functions, and if not, apply a custom filter to escape any user‑supplied attributes before rendering.

Generated by OpenCVE AI on April 21, 2026 at 21:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-8131 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, 2024.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

Wed, 08 Apr 2026 17:45: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, 2024.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. 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.2 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. This was partially patched in version 2024.5, and later improved in version 2025.3.
Title Advanced iFrame <= 2024.5 - Authenticated (Contributor+) Stored Cross-Site Scripting Advanced iFrame <= 2025.2 - Authenticated (Contributor+) Stored Cross-Site Scripting
References

Tue, 15 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00038}

epss

{'score': 0.00034}


Mon, 14 Jul 2025 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Tinywebgallery
Tinywebgallery advanced Iframe
CPEs cpe:2.3:a:tinywebgallery:advanced_iframe:*:*:*:*:*:wordpress:*:*
Vendors & Products Tinywebgallery
Tinywebgallery advanced Iframe

Wed, 26 Mar 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 26 Mar 2025 09:45: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, 2024.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 <= 2024.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

Tinywebgallery Advanced Iframe
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

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

Reserved: 2025-02-18T15:09:17.346Z

Link: CVE-2025-1437

cve-icon Vulnrichment

Updated: 2025-03-26T18:38:14.853Z

cve-icon NVD

Status : Modified

Published: 2025-03-26T10:15:14.930

Modified: 2026-04-08T18:24:24.097

Link: CVE-2025-1437

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T21:45:25Z

Weaknesses