Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-107845

Contao: Cross-site scripting in the comments bundle
Back to all
CVE

CVE-2026-107845

Contao: Cross-site scripting in the comments bundle

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.3
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
C
H
U
-

Related Resources

No items found.

References

https://github.com/contao/contao/security/advisories/GHSA-628f-v4f6-p37r, https://github.com/contao/contao/commit/22505d5f79bc1a7f52e2cba5fddf6007e1f0408a, https://github.com/contao/contao, https://github.com/contao/contao/releases/tag/5.3.50, https://github.com/contao/contao/releases/tag/5.7.12

Severity

9.3

CVSS Score
0
10

Basic Information

Base CVSS
9.3
EPSS Probability
0.00277%
EPSS Percentile
0.2043%
Introduced Version
4.0.0,5.4.0-RC1
Fix Available
5.3.50,5.7.12

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading