CVE-2026-12157
Last modified
CVE-2026-12157 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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(). EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-12157?
How severe is CVE-2026-12157?
How do I fix CVE-2026-12157?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-121559GLPI 10.0.0 before 10.0.28 and 11.0.0 before 11.0.10 contain…7.2
- CVE-2026-121560LogChimp 0.9.0-alpha.1 before 0.9.3 contains an authorizatio…7.1
- CVE-2026-121561Label Studio before 1.23.2 (label-studio-sdk before 2.1.2) c…7.7
- CVE-2026-121562CTFd 3.1.0 before 3.8.7 contains an information disclosure v…5.3
- CVE-2026-121564Incomplete Comparison with Missing Factors (CWE-1023) in mer…1.8
- CVE-2026-121565Tanium addressed an improper certificate validation vulnerab…7.4
- CVE-2026-121570Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2026-121571Missing Authorization vulnerability in WP Desk Autopay dla W…5.3
- CVE-2026-121573Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2026-121574Missing Authorization vulnerability in WP Chill Passster con…5.3
- CVE-2026-121575Missing Authorization vulnerability in WP User Manager WP Us…5.3
- CVE-2026-121576Incorrect Privilege Assignment vulnerability in AtlasAiDev M…8.8
Are you affected by CVE-2026-12157?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
