CVE-2025-12037
Stored XSS in WP 404 Auto Redirect Plugin Allows Admin Script Injection
Publication date: 2026-02-18
Last updated on: 2026-02-18
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| hwk-fr | wp-404-auto-redirect-to-similar-post | to 1.0.5 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
Can you explain this vulnerability to me?
The WP 404 Auto Redirect to Similar Post plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in all versions up to and including 1.0.5. This vulnerability arises because the plugin does not properly sanitize input or escape output in the admin settings. As a result, authenticated users with administrator-level permissions or higher can inject malicious web scripts into pages. These scripts will execute whenever any user accesses the affected page.
This vulnerability specifically affects multi-site WordPress installations and installations where the unfiltered_html capability has been disabled.
How can this vulnerability impact me? :
This vulnerability can allow attackers with administrator privileges to inject malicious scripts that execute in the browsers of users visiting the affected pages. This can lead to unauthorized actions such as stealing user credentials, hijacking user sessions, defacing websites, or distributing malware.
Because the vulnerability is a Stored Cross-Site Scripting issue, the malicious code persists on the server and affects every user who accesses the injected page, increasing the potential impact.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability affects the WP 404 Auto Redirect to Similar Post plugin for WordPress in versions up to and including 1.0.5, specifically on multi-site installations or where unfiltered_html is disabled. Detection involves verifying the plugin version and configuration.
- Check the installed version of the WP 404 Auto Redirect to Similar Post plugin to see if it is version 1.0.5 or earlier.
- Confirm if the WordPress installation is multi-site or if unfiltered_html is disabled, as the vulnerability only affects these setups.
- Look for suspicious or unexpected scripts injected in admin settings pages or pages generated by the plugin.
- Use WordPress CLI commands to list plugin versions, for example: `wp plugin list --status=active` to identify the plugin version.
- Manually inspect the plugin's admin settings pages for injected scripts or unusual content.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, the primary step is to update the WP 404 Auto Redirect to Similar Post plugin to a version later than 1.0.5 where the issue is fixed.
- Upgrade the plugin to version 1.0.6 or later, as indicated by the plugin repository logs.
- Restrict administrator-level permissions to trusted users only, since exploitation requires authenticated admin access.
- If immediate update is not possible, consider disabling the plugin temporarily, especially on multi-site installations or where unfiltered_html is disabled.
- Review and sanitize any admin settings pages for injected scripts and remove any suspicious content.