CVE-2025-6787
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-04

Last updated on: 2026-04-08

Assigner: Wordfence

Description
The Smart Docs plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'smartdocs_search' shortcode in all versions up to, and including, 1.1.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-04
Last Modified
2026-04-08
Generated
2026-05-07
AI Q&A
2025-07-04
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
archalj smart_docs to 1.1.0 (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 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]


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