CVE-2026-12157: BetterDocs <= 4.5.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'blockId' Block Attribute
wpdevteam · BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot
Affected: wpdevteam BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbot · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 28% of scored CVEs
DescriptionCVE.org
The BetterDocs - Knowledge Base Docs & FAQ Solution for Elementor & Block Editor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the blockId attribute of the betterdocs/category-slate-layout Gutenberg block in versions up to, and including, 4.5.3. This is due to insufficient input sanitization and output escaping in the CategorySlateLayout::render() method, which echoes the blockId block attribute directly into an HTML class attribute without esc_attr(). 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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- wpdevteam · BetterDocs – AI Documentation, Knowledge Base, Docs, Wikis, FAQ with Chatbotup to and including 4.5.3
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Cross-site Scripting
- Vendor
- wpdevteam
- Published
- June 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-12157 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-79cwe.mitre.org
- wordfence.com/threat-intel/vulnerabilities/id/81f61ef0-b3c7-4c69wordfence.com
- plugins.trac.wordpress.org/browser/betterdocs/tags/4.5.3/includeplugins.trac.wordpress.org
- plugins.trac.wordpress.org/browser/betterdocs/tags/4.5.3/includeplugins.trac.wordpress.org
- plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.12/includplugins.trac.wordpress.org
- plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.12/includplugins.trac.wordpress.org
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponplugins.trac.wordpress.org