Stored Cross-Site Scripting in Smart Docs Plugin for WordPress
CVE-2025-6787

6.4MEDIUM

Key Information:

Vendor

WordPress

Vendor
CVE Published:
4 July 2025

What is CVE-2025-6787?

The Smart Docs plugin for WordPress is susceptible to a Stored Cross-Site Scripting vulnerability that affects all versions up to 1.1.0. This issue arises from inadequate input sanitization and output escaping of user-supplied attributes in the plugin's 'smartdocs_search' shortcode. Authenticated attackers with at least contributor-level access can exploit this flaw to inject arbitrary JavaScript code into pages. The injected scripts will run whenever a user visits the infected page, potentially leading to data theft and account compromise.

References

CVSS V3.1

Score:
6.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

.
CVE-2025-6787 : Stored Cross-Site Scripting in Smart Docs Plugin for WordPress