CVE-2026-107845
Contao: Cross-site scripting in the comments bundle
Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-11-08; check the references for anything newer.
- Severity: Critical
- CVSS 9.3
- EPSS 0.28%
- P2 · This week
Why P2: this week.
Description
An unauthenticated front end visitor can post a comment containing a XSS injection. The victim is any back end user who opens the Comments module, and moderation makes exposure certain rather than preventing it. No `Content-Security-Policy` header is sent on the Contao back end, so nothing mitigates the inline handler. ### Impact Anyone on the internet can inject script that executes in the Contao back end origin, under the session of whichever user opens the Comments module, with no click and no hover. From there the payload acts as that user through the back end: reading any module they can reach, creating a new administrator, or editing a template, which on Contao is a documented path from back end write access to code execution. Moderation does not help and in fact guarantees exposure, since unpublished comments are still inserted and a moderator has to open the list to act on them.
Affected products
- composer contao/comments-bundle >= 4.0.0, < 5.3.50; first patched: 5.3.50
- composer contao/comments-bundle >= 5.4.0-RC1, < 5.7.12; first patched: 5.7.12
References
- GitHub security advisory GitHub
- Advisory reference GitHub
- Advisory reference GitHub
- Advisory reference GitHub
- Advisory reference GitHub