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`).
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-06-23: | Disclosed |
Credits
melquisedeq ortiz
References
www.wordfence.com/...-34bf-4571-a07b-939abc7ead8e?source=cve
plugins.trac.wordpress.org/....metaseo-broken-link-table.php
plugins.trac.wordpress.org/...eo/tags/4.5.18/wp-meta-seo.php
plugins.trac.wordpress.org/...eo/tags/4.5.18/wp-meta-seo.php
plugins.trac.wordpress.org/..._path=/wp-meta-seo/tags/4.5.13
ti.wordfence.io/...ties/ca91e41d-b728-4eb0-86d5-043813d8c2c1