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(medium)
- EG Risk
- 33(Track)EG Risk 33/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity64% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 28%
- 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 6× in last 7d / 47× 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.
Showing the most recent 100 of 161 total refreshes for this CVE.
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-11 09:36 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 20:53 UTCEG score recompute
- 2026-08-30 20:53 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:40 UTCEPSS rescore
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-25 06:53 UTCEG score recompute
- 2026-08-25 06:53 UTCGHSA enrichment
- 2026-08-24 05:07 UTCGHSA enrichment
- 2026-08-23 01:01 UTCEG score recompute
- 2026-08-23 01:01 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:48 UTCEPSS rescore
- 2026-08-21 10:04 UTCEG score recompute
Show 75 moreShow fewer
- 2026-08-21 10:04 UTCGHSA enrichment
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 08:42 UTCEG score recompute
- 2026-08-20 08:42 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 07:22 UTCEG score recompute
- 2026-08-19 07:21 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 11:49 UTCEG score recompute
- 2026-08-17 11:49 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 10:21 UTCEG score recompute
- 2026-08-16 10:21 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 09:01 UTCEG score recompute
- 2026-08-15 09:01 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 04:46 UTCEG score recompute
- 2026-08-14 04:46 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 03:25 UTCEG score recompute
- 2026-08-13 03:25 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 02:05 UTCEG score recompute
- 2026-08-12 02:05 UTCGHSA enrichment
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 00:44 UTCEG score recompute
- 2026-08-11 00:44 UTCGHSA enrichment
- 2026-08-10 23:59 UTCEPSS rescore
- 2026-08-09 23:22 UTCEG score recompute
- 2026-08-09 23:22 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 22:02 UTCEG score recompute
- 2026-08-08 22:02 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 20:41 UTCEG score recompute
- 2026-08-07 20:41 UTCGHSA enrichment
- 2026-08-06 19:20 UTCEG score recompute
- 2026-08-06 19:20 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 17:59 UTCGHSA enrichment
- 2026-08-04 15:42 UTCEG score recompute
- 2026-08-04 15:42 UTCGHSA enrichment
- 2026-08-04 15:09 UTCEPSS rescore
- 2026-08-04 10:38 UTCEPSS rescore
- 2026-08-03 14:22 UTCEG score recompute
- 2026-08-03 14:22 UTCGHSA enrichment
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-02 09:14 UTCEG score recompute
- 2026-08-02 09:14 UTCGHSA enrichment
- 2026-08-02 02:26 UTCEPSS rescore
- 2026-08-01 07:52 UTCEG score recompute
- 2026-08-01 07:52 UTCGHSA enrichment
- 2026-08-01 04:15 UTCEPSS rescore
- 2026-07-31 04:23 UTCEG score recompute
- 2026-07-31 04:23 UTCGHSA enrichment
- 2026-07-30 16:27 UTCEPSS rescore
- 2026-07-30 03:02 UTCEG score recompute
- 2026-07-30 03:02 UTCGHSA enrichment
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 01:40 UTCEG score recompute
- 2026-07-29 01:40 UTCGHSA enrichment
- 2026-07-28 15:36 UTCEPSS rescore
- 2026-07-27 18:28 UTCEG score recompute
- 2026-07-27 18:28 UTCGHSA enrichment
- 2026-07-27 14:13 UTCEPSS rescore
- 2026-07-26 17:02 UTCEG score recompute
- 2026-07-26 17:02 UTCGHSA enrichment
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:05 UTCEG score recompute
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.