Skip to content
Laskyr

Plugins · iframe · data as of 2026-11-29

Is iframe safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (6.0)

As of 2026-11-29. 5 issues are on record for older versions; version 5.1 or newer fixes all of them that state a fix.

Latest version
6.0
Last updated
2026-05-17
Active installs
60,000+
Known issues on record
5
Unpatched in latest
0
Tested up to WP
7.0.9

[iframe src="http://www.youtube.com/embed/7_nAZQt9qu0" width="100%" height="500"] shortcode — by webvitalii

What to do

  1. Update to the latest version (6.0). Anything older than 5.1 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.

With WP-CLI: wp plugin get iframe --field=version shows what you run; wp plugin update iframe updates it.

Check your version

Running more than one plugin? Paste your whole plugin list and check them all at once.

Known vulnerabilities

5 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.

medium 5.0 CVE-2023-6844 · published 2024-05-23

Stored cross-site scripting (XSS) in iframe (5.0 and older)

Affected
5.0 and older
Fixed in
5.1 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber)
Range from
CVE record · score by Wordfence
Details from the advisory

The iframe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcode(s) in all versions up to and including 5.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

NVD CVE-2023-6844Wordfence advisoryCode change (fix)Plugin source

medium 6.5 CVE-2024-34805 · published 2024-05-16

Stored cross-site scripting (XSS) in iframe (5.0 and older)

Affected
5.0 and older
Fixed in
5.1 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record · score by Patchstack
Details from the advisory

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Webvitaly iFrame allows Stored XSS.This issue affects iFrame: from n/a through 5.0.

NVD CVE-2024-34805Patchstack advisory

medium 5.4 CVE-2023-52125 · published 2024-01-05

Stored cross-site scripting (XSS) in iframe (4.8 and older)

Affected
4.8 and older
Fixed in
4.9
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record · score by NVD
Details from the advisory

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in webvitaly iframe allows Stored XSS.This issue affects iframe: from n/a through 4.8.

NVD CVE-2023-52125Patchstack advisory

medium 5.4 CVE-2023-4919 · published 2023-10-20

Stored cross-site scripting (XSS) in iframe (4.6 and older)

Affected
4.6 and older
Fixed in
4.7 *
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record · score by NVD
Details from the advisory

The iframe plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `iframe` shortcode in versions up to, and including, 4.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level permission 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 4.6 and fully patched in version 4.7.

NVD CVE-2023-4919Wordfence advisoryCode change (fix)Plugin source

medium 6.1 CVE-2020-12696 · published 2020-05-07

Cross-site scripting (XSS) in iframe (older than 4.5)

Affected
older than 4.5
Fixed in
4.5
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
NVD analysis · score by NVD
Details from the advisory

The iframe plugin before 4.5 for WordPress does not sanitize a URL.

NVD CVE-2020-12696wordpress.orgguilhermerubert.com

Recent activity

Browse vulnerabilities

Questions about iframe

Is iframe safe to use?

No known unpatched vulnerabilities in the latest version (6.0). As of 2026-11-29. 5 issues are on record for older versions; version 5.1 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep iframe on the latest version (6.0) and remove it if you do not use it.

Which versions of iframe are vulnerable?

Known issues on record (newest first): Stored cross-site scripting (XSS) (5.0 and older, fixed in 5.1); Stored cross-site scripting (XSS) (4.8 and older, fixed in 4.9); Stored cross-site scripting (XSS) (4.6 and older, fixed in 4.7); Cross-site scripting (XSS) (older than 4.5, fixed in 4.5). The full list with sources is on this page.

What is the latest version of iframe?

6.0, according to wordpress.org (last updated 2026-05-17). It has 60,000+ active installs.

What should I do if my iframe is out of date?

Take a backup, then update it from Dashboard > Updates (or run wp plugin update iframe). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
iframe vulnerability status badge
<a href="https://laskyr.com/plugins/iframe"><img src="https://laskyr.com/plugins/iframe/badge.svg" alt="iframe vulnerability status"></a>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.