CVE-2025-47705 IFrame Remove Filter - Moderately critical - Cross site scripting - SA-CONTRIB-2025-051

Medium 6.1 Published Updated

An attacker can inject malicious scripts via the IFrame Remove Filter module, potentially executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-47705?

CVE-2025-47705 is a medium-severity cross-site scripting vulnerability in Drupal IFrame Remove Filter, published on 14 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal IFrame Remove Filter allows Cross-Site Scripting (XSS).This issue affects IFrame Remove Filter: from 2.0.0 before 2.0.5, from 7.X-1.0 through 7.X-1.5, from 1.0 through 1.2.

Weakness: CWE-79

Which versions are affected by CVE-2025-47705?

It affects 1 product.

Linux distribution packages (1)
drupal/iframeremove Packagist:https://packages.drupal.org/8All versions2.0.5

Products include Iframe Remove Filter Project Iframe Remove Filter.

How do I fix CVE-2025-47705?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-47705 being exploited?

There is no known exploitation of CVE-2025-47705 in the wild and no public exploit code.

Sources

Also known as DRUPAL-CONTRIB-2025-051, GHSA-v265-mq78-w999.

Is CVE-2025-47705 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free