CVE-2025-12037
Received Received - Intake

Stored XSS in WP 404 Auto Redirect Plugin Allows Admin Script Injection

Vulnerability report for CVE-2025-12037, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-02-18

Last updated on: 2026-02-18

Assigner: Wordfence

Description

The WP 404 Auto Redirect to Similar Post plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.0.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-02-18
Last Modified
2026-02-18
Generated
2026-07-06
AI Q&A
2026-02-18
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
hwk-fr wp-404-auto-redirect-to-similar-post to 1.0.5 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
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 Quick Actions

Instant insights powered by AI
Compliance Impact

I don't know

Executive Summary

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.

Impact Analysis

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.

Detection Guidance

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.
Mitigation Strategies

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.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-12037. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart