CVE-2025-8295
BaseFortify
Publication date: 2025-08-05
Last updated on: 2025-08-05
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordpress | employee_directory | * |
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 can this vulnerability impact me? :
This vulnerability can allow attackers with Contributor-level access to inject arbitrary malicious scripts into the website pages. These scripts can execute in the context of other users visiting the site, potentially leading to theft of user credentials, session hijacking, defacement, or other malicious actions that compromise the security and integrity of the website and its users. [1]
Can you explain this vulnerability to me?
CVE-2025-8295 is a Stored Cross-Site Scripting (XSS) vulnerability in the Employee Directory plugin for WordPress. It occurs due to insufficient input sanitization and output escaping of the 'noaccess_msg' parameter in versions up to 4.5.1. This flaw allows authenticated users with Contributor-level access or higher to inject malicious scripts into pages, which then execute whenever any user accesses those pages. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by checking the version of the Employee Directory plugin installed on your WordPress site. Versions up to and including 4.5.1 are vulnerable. You can detect the plugin version via WordPress admin dashboard or by running commands to inspect the plugin files. For example, using WP-CLI: `wp plugin list --status=active` to list active plugins and their versions. Additionally, you can search for suspicious scripts injected via the 'noaccess_msg' parameter by reviewing database entries or page source code for unexpected script tags. However, no specific detection commands for the XSS injection are provided. [1]
What immediate steps should I take to mitigate this vulnerability?
The immediate mitigation step is to update the Employee Directory plugin to version 4.5.2 or later, where the XSS vulnerabilities including those related to the 'noaccess_msg' parameter have been fixed. Additionally, restrict Contributor-level and above users from injecting scripts by reviewing user permissions and consider sanitizing inputs if custom modifications exist. Applying security best practices such as using a Web Application Firewall (WAF) to block malicious scripts can also help mitigate exploitation until the update is applied. [1]