CVE-2025-7431
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-18

Last updated on: 2025-07-22

Assigner: Wordfence

Description
The Knowledge Base plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin slug setting in all versions up to, and including, 2.3.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, 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
2025-07-18
Last Modified
2025-07-22
Generated
2026-05-07
AI Q&A
2025-07-18
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wordfence knowledge_base *
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 Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-7431 is a Stored Cross-Site Scripting (XSS) vulnerability in the Knowledge Base plugin for WordPress, affecting all versions up to and including 2.3.1. It occurs due to insufficient input sanitization and output escaping of the plugin slug setting. Authenticated attackers with administrator-level access can inject arbitrary web scripts into pages. These scripts execute whenever a user accesses the injected page. This vulnerability specifically affects multi-site WordPress installations and installations where the unfiltered_html setting is disabled.


How can this vulnerability impact me? :

This vulnerability can allow an attacker with administrator privileges to inject malicious scripts into the website pages. When other users visit these pages, the injected scripts execute in their browsers, potentially leading to theft of sensitive information, session hijacking, or performing actions on behalf of the user without their consent. Since it is a stored XSS, the malicious code persists on the site and affects all users who access the compromised pages. This can damage the website's integrity, user trust, and security.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, immediately update the Knowledge Base plugin for WordPress to a version later than 2.3.1 where the issue is fixed. Additionally, ensure that only trusted administrators have access to the plugin settings, especially in multi-site installations or where unfiltered_html is disabled. Consider reviewing and restricting administrator-level access and monitor for any suspicious script injections in pages related to the plugin slug setting. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart