Advanced iFrame WordPress Plugin Stored Cross-Site Scripting Vulnerability
Vulnerability
A stored cross-site scripting vulnerability has been identified in the Advanced iFrame plugin for WordPress, affecting all versions up to and including 2025.5. The issue arises from inadequate input sanitization and output escaping of user-supplied attributes in the 'advanced_iframe' shortcode. This vulnerability allows authenticated attackers with contributor-level access or higher to inject arbitrary web scripts into pages, which are executed when a user accesses the injected page.
Impact
Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.
Reproduction
To reproduce this vulnerability, an authenticated user with contributor-level access or higher can use the 'advanced_iframe' shortcode to inject a script. The absence of proper sanitization and escaping on the shortcode's attributes enables the injection of malicious scripts that will be executed when the page is viewed.
Remediation
Users are advised to update the Advanced iFrame plugin to version 2025.6 or later.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
