CVE-2025-6787 MEDIUM

CVE-2025-6787: Smart Docs <= 1.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

Vendor Ibachal
Product Smart Docs
Weakness CWE-79 · XSS
Published July 4, 2025
Last update April 8, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Smart Docs versions 1.1.0 and earlier contain a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts affecting other users. The vulnerability has a changed scope, meaning the impact extends beyond the vulnerable component itself. Low-privileged accounts can exploit this without user interaction from victims.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that execute in other users' browsers and affect the application's functionality.

Potential impact on your site

04Site Impact

Authenticated users can inject scripts affecting other users' sessions, potentially compromising data or site functionality.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege account on the site; no victim interaction required.

Key dates

06Disclosure timeline

July 4, 2025 CVE published
April 8, 2026 Record updated