Skip to content
MediumVulnerability

CVE-2026-75980: BetterDocs WordPress plugin stored cross-site scripting via heading id attribute

Identifier
CVE-2026-75980
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2026-75980 affects the BetterDocs plugin for WordPress in all versions up to and including 4.8.1. Authenticated attackers with contributor-level access or higher can inject arbitrary web scripts through the heading id attribute in post content, which execute when a user opens an affected page. The payload survives wp_kses_post because entity-encoded quotes are saved as a single attribute value. It becomes active when process_content_for_toc() runs html_entity_decode() on the stored content and a lazy regex extracts the id, which is then echoed unescaped into the Table of Contents output.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.