Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-107845— Contao: Cross-site scripting in the comments bundle

Quick assessment

Affected
contao contao
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Contao 是一款开源内容管理系统(CMS)。从版本 4.0.0 至 5.3.50 以及 5.7.12 之前的版本中,未经身份验证的访客可以提交一条评论,其邮箱或网站元数据会在 文件中的 方法中被渲染时,因未进行充分的属性编码和 URL 编码而存在安全风险。当后台用户打开“评论”模块时,攻击者控制的脚本将在该用户的会话上下文中于 Contao 后台域名下执行。由于未发布的评论对管理员(moderator)仍然可见,因此仅依靠审核机制无法防止此漏洞被利用。该问题已在版本 5.3.50 和 5.7.12 中修复。

CVSS 9.3 · Critical

Affected Version Matrix 2

VendorProduct Version RangeStatus
contao contao >= 4.0.0, < 5.3.50 affected
>= 5.4.0-RC1, < 5.7.12 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-107845

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Contao: Cross-site scripting in the comments bundle
Source: CVE Program / CVE List V5
Vulnerability Description
Contao is an Open Source CMS. From version 4.0.0 until 5.3.50 and 5.7.12, an unauthenticated visitor can submit a comment whose email or website metadata is rendered without sufficient attribute and URL encoding by listComments() in comments-bundle/contao/dca/tl_comments.php. When a backend user opens the Comments module, attacker-controlled script can execute in the Contao backend origin under that user's session. Unpublished comments remain visible to moderators, so moderation does not prevent exposure. This issue is fixed in versions 5.3.50 and 5.7.12.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
contao contao >= 4.0.0, < 5.3.50 -

II. Public POCs for CVE-2026-107845

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-107845

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-107845 (1)

Vendor Advisories for CVE-2026-107845 (1)

Vendor Pages for CVE-2026-107845 (2)

Same Patch Batch · contao · 2026-10-09 · 7 CVEs total

CVE-2026-107842 5.3 MEDIUM Contao: Protected page content is disclosed to anonymous visitors after contao.search.inde
CVE-2026-107844 5.3 MEDIUM Contao: Path traversal in the images controller
CVE-2026-107843 5.3 MEDIUM Contao: The registration module re-sends activation mails on any unauthenticated POST, wit
CVE-2026-107851 4.3 MEDIUM Contao: Improper access control in the table access voter
CVE-2026-107850 4.3 MEDIUM Contao: Improper access control in the preview links module
CVE-2026-107848 3.5 LOW Contao: Cross-site request forgery in custom backend actions

IV. Related Vulnerabilities

V. Comments for CVE-2026-107845

No comments yet


Leave a comment