Here you will find a list of vulnerabilities that have already been found and fixed in Contao. If you think that you have found a security issue in Contao, please report it according to our security policy.
Cross site scripting via HTML attributes in the back end
by Leo Feyer
CVE ID: CVE-2021-35955
It is possible for untrusted users to inject malicious code into HTML attributes in the back end, which will be executed both in the element preview (back end) and on the website (front end).
Installations are only affected if there are untrusted back end users who have the rights to modify HTML fields (e.g. TinyMCE).
Thanks to Mikhail Khramenkov from Solar Security Research Team for reporting the issue.
Contao 4.4 up to 4.4.55
Contao 4.9 up to 4.9.17
Contao 4.11 up to 4.11.6
Update to Contao 4.4.56, 4.9.18 or 4.11.7.
Disable all fields that allow HTML for untrusted back end users or disable the login for these users.