CVE-2025-6787
BaseFortify
Publication date: 2025-07-04
Last updated on: 2026-04-08
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| archalj | smart_docs | to 1.1.0 (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
Can you explain this vulnerability to me?
This vulnerability is a Stored Cross-Site Scripting (XSS) issue in the Smart Docs WordPress plugin up to version 1.1.0. It occurs because the plugin does not properly sanitize and escape user-supplied attributes in its 'smartdocs_search' shortcode. Authenticated users with contributor-level access or higher can inject malicious scripts into pages, which then execute whenever any user views those pages.
How can this vulnerability impact me? :
The vulnerability allows attackers with contributor-level access or higher to inject arbitrary scripts into pages. This can lead to unauthorized actions such as stealing user credentials, session hijacking, defacement of content, or spreading malware to users who visit the infected pages. It compromises the integrity and security of the affected website and its users.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection of this vulnerability involves identifying the presence of the Smart Docs plugin version 1.1.0 or earlier on your WordPress installation and checking for usage of the 'smartdocs_search' shortcode with potentially malicious input. Since the vulnerability is a Stored Cross-Site Scripting (XSS) via shortcode attributes, you can search your WordPress content database for instances of the shortcode and inspect for suspicious scripts. For example, you can run a SQL query on your WordPress database to find posts containing the shortcode: SELECT * FROM wp_posts WHERE post_content LIKE '%[smartdocs_search%'; Additionally, monitoring HTTP requests and responses for injected scripts related to this shortcode can help detect exploitation attempts. There are no specific commands provided in the resources.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include disabling or removing the Smart Docs plugin version 1.1.0 or earlier from your WordPress installation, as the plugin has been temporarily closed and removed from download availability pending a security review. Restrict contributor-level and higher user access until a patch or update is available. Additionally, review and sanitize any content using the 'smartdocs_search' shortcode to remove potentially malicious scripts. Applying general WordPress security best practices, such as limiting user permissions and monitoring for suspicious activity, is also recommended. [1]