Skip to content
Laskyr

Plugins · wordpress-seo · data as of 2026-11-01

Is Yoast SEO safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (28.8)

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

Latest version
28.8
Last updated
2026-10-27
Active installs
10+ million
Known issues on record
14
Unpatched in latest
0
Tested up to WP
7.1.4 · PHP 7.4+

Real-time SEO guidance, schema, and AI built in. Help search engines and AI systems understand your content. All AI tools included, no hidden fees. — by Yoast

What to do

  1. Update to the latest version (28.8). Anything older than 28.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.

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

Check your version

Known vulnerabilities

14 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.

medium 6.4 CVE-2026-15425 · published 2026-07-25

Stored cross-site scripting (XSS) in Yoast SEO (28.0 and older)

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

The Yoast SEO – Advanced SEO with real-time guidance and built-in AI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Post Slug (post_name) in all versions up to, and including, 28.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires pretty permalinks to be enabled, as the exploit chain depends on get_permalink() embedding the stored percent-encoded post_name in the generated URL.

NVD CVE-2026-15425Wordfence advisoryCode change (fix)Plugin source

medium 4.3 CVE-2025-14481 · published 2026-05-27

Missing authorization check in Yoast SEO (26.5 and older)

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

The Yoast SEO plugin for WordPress is vulnerable to Insecure Direct Object References in all versions up to, and including, 26.5. This is due to insufficient authorization checks in the Meta Search REST API endpoint that fail to verify post ownership. This makes it possible for authenticated attackers, with Contributor-level access and above, to read sensitive SEO metadata from any post on the site via the 'post_id' parameter, including posts owned by other users, private posts, and draft posts.

NVD CVE-2025-14481Wordfence advisoryCode change (fix)github.comPlugin source

medium 6.4 CVE-2026-3427 · published 2026-03-22

Stored cross-site scripting (XSS) in Yoast SEO (27.1.1 and older)

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

The Yoast SEO – Advanced SEO with real-time guidance and built-in AI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the the `jsonText` block attribute in all versions up to, and including, 27.1.1 due to insufficient input sanitization and output escaping. 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.

NVD CVE-2026-3427Wordfence advisoryCode change (fix)github.comPlugin source

medium 6.4 CVE-2026-1293 · published 2026-02-06

Stored cross-site scripting (XSS) in Yoast SEO (26.8 and older)

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

The Yoast SEO – Advanced SEO with real-time guidance and built-in AI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the the `yoast-schema` block attribute in all versions up to, and including, 26.8 due to insufficient input sanitization and output escaping. 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.

NVD CVE-2026-1293Wordfence advisoryPlugin source

medium 6.4 CVE-2024-4984 · published 2024-05-16

Stored cross-site scripting (XSS) in Yoast SEO (22.6 and older)

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

The Yoast SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘display_name’ author meta in all versions up to, and including, 22.6 due to insufficient input sanitization and output escaping. 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.

NVD CVE-2024-4984Wordfence advisoryCode change (fix)developer.yoast.comgithub.com

medium 6.1 CVE-2024-4041 · published 2024-05-14

Reflected cross-site scripting (XSS) in Yoast SEO (22.5 and older)

Affected
22.5 and older
Fixed in
22.6 *
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by Wordfence
Details from the advisory

The Yoast SEO plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via URLs in all versions up to, and including, 22.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

NVD CVE-2024-4041Wordfence advisoryCode change (fix)Plugin source

medium 4.8 CVE-2023-40680 · published 2023-11-30

Stored cross-site scripting (XSS) in Yoast SEO (21.0 and older)

Affected
21.0 and older
Fixed in
21.1
Access needed (per CVSS)
Needs an admin-level account; someone on the site has to click a link or open a page
Range from
CVE record (the advisory publisher) · score by NVD
Details from the advisory

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

NVD CVE-2023-40680Patchstack advisory

medium 5.3 CVE-2021-25118 · published 2022-02-28

Information disclosure in Yoast SEO (16.7 up to (not including) 17.3)

Affected
16.7 up to (not including) 17.3
Fixed in
17.3
Access needed (per CVSS)
No login needed
Range from
NVD analysis · score by NVD
Details from the advisory

The Yoast SEO WordPress plugin (from versions 16.7 until 17.2) discloses the full internal path of featured images in posts via the wp/v2/posts REST endpoints which could help an attacker identify other vulnerabilities or help during the exploitation of other identified vulnerabilities.

NVD CVE-2021-25118WPScan advisoryCode change (fix)

medium 5.4 CVE-2021-24153 · published 2021-04-05

Stored cross-site scripting (XSS) in Yoast SEO (older than 3.4.1)

Affected
older than 3.4.1
Fixed in
3.4.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
advisory text · score by NVD
Details from the advisory

A Stored Cross-Site Scripting vulnerability was discovered in the Yoast SEO WordPress plugin before 3.4.1, which had built-in blacklist filters which were blacklisting Parenthesis as well as several functions such as alert but bypasses were found.

NVD CVE-2021-24153WPScan advisoryCode change (fix)packetstormsecurity.com

medium 6.6 CVE-2018-19370 · published 2018-11-28

Security issue in Yoast SEO (older than 9.2.0)

Affected
older than 9.2.0
Fixed in
9.2.0
Access needed (per CVSS)
Needs an admin-level account
Range from
advisory text · score by NVD
Details from the advisory

A Race condition vulnerability in unzip_file in admin/import/class-import-settings.php in the Yoast SEO (wordpress-seo) plugin before 9.2.0 for WordPress allows an SEO Manager to perform command execution on the Operating System via a ZIP import.

NVD CVE-2018-19370wordpress.orggithub.comyoutube.com

medium 4.8 CVE-2017-16842 · published 2017-11-16

Cross-site scripting (XSS) in Yoast SEO (older than 5.8.0)

Affected
older than 5.8.0
Fixed in
5.8.0
Access needed (per CVSS)
Needs an admin-level account; someone on the site has to click a link or open a page
Range from
NVD analysis · score by NVD
Details from the advisory

Cross-site scripting (XSS) vulnerability in admin/google_search_console/class-gsc-table.php in the Yoast SEO plugin before 5.8.0 for WordPress allows remote attackers to inject arbitrary web script or HTML.

NVD CVE-2017-16842Code change (fix)wordpress.orgpacketstormsecurity.com

medium 4.3 CVE-2012-6692 · published 2015-06-17

Cross-site scripting (XSS) in Yoast SEO (2.1.1 and older)

Affected
2.1.1 and older
Fixed in
18.0 *
Range from
NVD analysis · score by NVD
Details from the advisory

Cross-site scripting (XSS) vulnerability in js/wp-seo-metabox.js in the WordPress SEO by Yoast plugin before 2.2 for WordPress allows remote attackers to inject arbitrary web script or HTML via the post_title parameter to wp-admin/post-new.php, which is not properly handled in the snippet preview functionality.

NVD CVE-2012-6692wordpress.orgpacketstormsecurity.comseclists.orgsecurityfocus.comsecuritytracker.cominventropy.us

medium 6.8 CVE-2015-2293 · published 2015-03-17

Cross-site request forgery (CSRF) in Yoast SEO (1.5.6 and older, 1.6.0 only, 1.6.1 only, 1.6.2 only, 1.6.3 only, 1.7.1 only, 1.7.2 only, 1.7.3 only, 1.7.3.1 only, 1.7.3.2 only, 1.7.3.3 only)

Affected
1.5.6 and older, 1.6.0 only, 1.6.1 only, 1.6.2 only, 1.6.3 only, 1.7.1 only, 1.7.2 only, 1.7.3 only, 1.7.3.1 only, 1.7.3.2 only, 1.7.3.3 only
Fixed in
18.0 *
Range from
NVD analysis · score by NVD
Details from the advisory

Multiple cross-site request forgery (CSRF) vulnerabilities in admin/class-bulk-editor-list-table.php in the WordPress SEO by Yoast plugin before 1.5.7, 1.6.x before 1.6.4, and 1.7.x before 1.7.4 for WordPress allow remote attackers to hijack the authentication of certain users for requests that conduct SQL injection attacks via the (1) order_by or (2) order parameter in the wpseo_bulk-editor page.

NVD CVE-2015-2293wordpress.orgpacketstormsecurity.comseclists.orgsecuritytracker.comwpvulndb.comyoast.com

medium 6.5 CVE-2015-2292 · published 2015-03-17

Cross-site request forgery (CSRF) in Yoast SEO (1.5.6 and older, 1.6.0 only, 1.6.1 only, 1.6.2 only, 1.6.3 only, 1.7.1 only, 1.7.2 only, 1.7.3 only, 1.7.3.1 only, 1.7.3.2 only, 1.7.3.3 only)

Affected
1.5.6 and older, 1.6.0 only, 1.6.1 only, 1.6.2 only, 1.6.3 only, 1.7.1 only, 1.7.2 only, 1.7.3 only, 1.7.3.1 only, 1.7.3.2 only, 1.7.3.3 only
Fixed in
18.0 *
Range from
NVD analysis · score by NVD
Details from the advisory

Multiple SQL injection vulnerabilities in admin/class-bulk-editor-list-table.php in the WordPress SEO by Yoast plugin before 1.5.7, 1.6.x before 1.6.4, and 1.7.x before 1.7.4 for WordPress allow remote authenticated users to execute arbitrary SQL commands via the (1) order_by or (2) order parameter in the wpseo_bulk-editor page to wp-admin/admin.php. NOTE: this can be leveraged using CSRF to allow remote attackers to execute arbitrary SQL commands.

NVD CVE-2015-2292wordpress.orgpacketstormsecurity.comseclists.orgsecuritytracker.comwpvulndb.comexploit-db.com

Recent activity

Where this data comes from

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

← Check another plugin · Free hacked-site scan

Site hacked? Get help now
Run free scan Fix it now ($499) Send a message

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