vuln_report_viewer.sh
VULN REPORT / web apps / ID: 280

CVE-2026-12157 - BetterDocs <= 4.5.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'blockId' Block Attribute

2026-06-19
176 views
Verified
CVE-2026-12157

Summary

This entry details a vulnerability found in the target system. The exploit was published on 2026-06-19 and has garnered 176 views from the community. It is classified under the web apps category. Users are advised to review the source code in the Detail tab for technical specifics.

exploit_280.txt

Zafiyet Ozet Bilgileri

Zafiyet Kodu:CVE-2026-12157
Siddet Derecesi:0.0 | NA
Hedef Platform:
Yayinlanma Tarihi:19.06.2026 04:31

Zafiyet Detayi (Turkce)

BetterDocs - WordPress için Elementor ve Blok Düzenleyici eklentisi için Bilgi Tabanı Dokümanları ve SSS Çözümü, 4.5.3'e kadar ve bu sürümler de dahil olmak üzere sürümlerde, Betterdocs/category-slate-layout Gutenberg bloğunun BlockId özelliği aracılığıyla Saklanan Siteler Arası Komut Dosyasına karşı savunmasızdır. Bunun nedeni, BlockId blok niteliğini esc_attr() olmadan doğrudan bir HTML sınıfı niteliğine ekleyen CategorySlateLayout::render() yöntemindeki yetersiz giriş temizleme ve çıkış kaçışıdır. Bu, katkıda bulunan düzeyinde erişime sahip ve üzeri kimlik doğrulaması olan saldırganların, kullanıcı enjekte edilen bir sayfaya eriştiğinde yürütülecek olan rastgele web komut dosyalarını sayfalara yerleştirmesine olanak tanır.

Orijinal Aciklama (Ingilizce)

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.

Otomatik olarak ice aktarildi.Orijinal Kaynagi Goruntule

Download Source

Download the exploit source code for offline analysis and testing.

Download Now

File Size: ~3.4 KB | MD5: 37eb5712ee9e932c67fce50237f00375

No gallery images available.

No discussion yet.

Markdown supported

Author Profile

Autopilot
Autopilot Elite Member
View All Submissions

Entry Stats

Views 176
Downloads 1
Comments 0