Description
The WP Meta SEO plugin for WordPress is vulnerable to Unauthenticated Stored Cross-Site Scripting via the REQUEST_URI server variable in all versions up to, and including, 4.5.18. When the plugin's `wpmsTemplateRedirect()` hook detects a 404, it concatenates `$_SERVER['HTTP_HOST']` with the raw `$_SERVER['REQUEST_URI']` and inserts that value verbatim into the `wp_wpms_links.link_url` column via `$wpdb->insert()`. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute whenever an administrator views the plugin's 404 & Redirects admin page (`/wp-admin/admin.php?page=metaseo_broken_link`).
References6
- plugins.trac.wordpress.org/browser/wp-meta-seo/tags/4.5.18/inc/…
- plugins.trac.wordpress.org/browser/wp-meta-seo/tags/4.5.18/wp-m…
- plugins.trac.wordpress.org/browser/wp-meta-seo/tags/4.5.18/wp-m…
- plugins.trac.wordpress.org/changeset?old_path=/wp-meta-seo/tags…
- ti.wordfence.io/vulnerabilities/ca91e41d-b728-4eb0-86d5-043813d…
- www.wordfence.com/threat-intel/vulnerabilities/id/beceb218-34bf…
Metrics
- CVSS 3.1
-
7.2
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 37 · as of 16 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.