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.
CVE-2026-12157
Score 6.4 from GitHub Security Advisory published 2026-06-19. a secondary CVSS source baseline 6.4; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.4
- EG Score
- 6.4(high)
- EPSS
- 11.5%
- KEV
- Not listed
Published
June 19, 2026
Last Modified
June 22, 2026
References (6)
- security@wordfencehttps://plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.12/includes/Editors/BlockEditor/Blocks/CategorySlateLayout.php#L66
- security@wordfencehttps://plugins.trac.wordpress.org/browser/betterdocs/tags/4.3.12/includes/Editors/BlockEditor/Blocks/CategorySlateLayout.php#L97
- security@wordfencehttps://plugins.trac.wordpress.org/browser/betterdocs/tags/4.5.3/includes/Editors/BlockEditor/Blocks/CategorySlateLayout.php#L66
- security@wordfencehttps://plugins.trac.wordpress.org/browser/betterdocs/tags/4.5.3/includes/Editors/BlockEditor/Blocks/CategorySlateLayout.php#L97
- security@wordfencehttps://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3576713%40betterdocs&new=3576713%40betterdocs&sfp_email=&sfph_mail=
- security@wordfencehttps://www.wordfence.com/threat-intel/vulnerabilities/id/81f61ef0-b3c7-4c69-bd18-5e5f0ea09abc?source=cve
Vendor Advisories for CVE-2026-12157(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 20× in last 7d / 50× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 04:56 UTCEG score recompute
- 2026-07-06 04:56 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 03:30 UTCEG score recompute
- 2026-07-05 03:30 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 02:09 UTCEG score recompute
- 2026-07-04 02:08 UTCGHSA enrichment
- 2026-07-03 00:42 UTCEG score recompute
- 2026-07-03 00:42 UTCGHSA enrichment
- 2026-07-01 23:21 UTCEG score recompute
- 2026-07-01 23:21 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 22:01 UTCEG score recompute
- 2026-06-30 22:00 UTCGHSA enrichment
- 2026-06-29 20:39 UTCEG score recompute
- 2026-06-29 20:39 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 19:18 UTCEG score recompute
- 2026-06-28 19:18 UTCGHSA enrichment
Show 25 moreShow fewer
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 17:57 UTCEG score recompute
- 2026-06-27 17:57 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 16:36 UTCEG score recompute
- 2026-06-26 16:36 UTCGHSA enrichment
- 2026-06-25 15:14 UTCEG score recompute
- 2026-06-25 15:14 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 13:52 UTCEG score recompute
- 2026-06-24 13:52 UTCGHSA enrichment
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 12:31 UTCEG score recompute
- 2026-06-23 12:30 UTCGHSA enrichment
- 2026-06-22 11:00 UTCEG score recompute
- 2026-06-22 10:59 UTCGHSA enrichment
- 2026-06-21 09:38 UTCEG score recompute
- 2026-06-21 09:38 UTCGHSA enrichment
- 2026-06-20 08:16 UTCEG score recompute
- 2026-06-20 08:16 UTCGHSA enrichment
- 2026-06-19 06:56 UTCEG score recompute
- 2026-06-19 06:55 UTCGHSA enrichment
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-12157?
When was CVE-2026-12157 disclosed?
Is CVE-2026-12157 actively exploited?
What is the CVSS score of CVE-2026-12157?
How do I remediate CVE-2026-12157?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-12157
Is Your Infrastructure Affected by CVE-2026-12157?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.