Stored Cross-Site Scripting in BetterDocs Plugin for WordPress
CVE-2026-75980

6.4MEDIUM

What is CVE-2026-75980?

The BetterDocs plugin for WordPress is susceptible to a Stored Cross-Site Scripting vulnerability caused by inadequate input sanitization and output escaping for the 'id' attribute of headings in post content. Authenticated attackers with contributor-level access can inject harmful web scripts into pages. This exploit bypasses standard security measures, such as wp_kses_post, as entity-encoded quotes are interpreted as valid attribute values at the time of saving. Consequently, when the content is processed, the injected payload can be executed whenever a user accesses the affected page, allowing the attacker to potentially gain further access or compromise user data.

Affected Version(s)

BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 0 <= 4.8.1

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

  • Vulnerability Reserved

Credit

Wordfence PRISM
.