CVE-2023-36806: Contao cross site scripting vulnerability via input unit widget

Published Jul 25, 2023
·
Updated

Impact

Authenticated users can inject malicious code in widgets with units, which is then executed both in the element preview (back end) and on the website (front end).

Patches

Update to Contao 4.9.42, 4.13.28 or 5.1.10.

Workarounds

Disable login for all untrusted back end users.

References

https://contao.org/en/security-advisories/cross-site-scripting-in-widgets-with-units

For more information

If you have any questions or comments about this advisory, open an issue in contao/contao.

Credits

Thanks to Christian Pöschl and Fabian Brenner from usd AG for reporting this vulnerability.

Other sources

Contao is an open source content management system. Starting in version 4.0.0 and prior to versions 4.9.42, 4.13.28, and 5.1.10, it is possible for untrusted backend users to inject malicious code into headline fields 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 headline fields, or other fields using the input unit widget. Contao 4.9.42, 4.13.28, and 5.1.10 have a patch for this issue. As a workaround, disable the login for all untrusted back end users.

— MITRE

Affected Software

6 affected componentsFixes available
Contao Contao>=4.0.0<4.9.42
Contao Contao>=4.10.0<4.13.28
Contao Contao>=5.0.0<5.1.10
composer/contao/core-bundle>=5.0.0<5.1.10
5.1.10
composer/contao/core-bundle>=4.10.0<4.13.28
4.13.28
composer/contao/core-bundle>=4.0.0<4.9.42
4.9.42

Event History

Jul 25, 2023
Advisory Published
via GitHub·05:19 PM
Data Sourced
via GitHub·05:19 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·06:47 PM
Data Sourced
via MITRE·06:47 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the impact of CVE-2023-36806?

Authenticated users can inject malicious code in widgets with units, which is then executed both in the element preview (back end) and on the website (front end).

2

How can I patch CVE-2023-36806?

Update to Contao 4.9.42, 4.13.28, or 5.1.10.

3

Are there any workarounds for CVE-2023-36806?

Disable login for all untrusted back end users.

4

What is the severity of CVE-2023-36806?

The severity of CVE-2023-36806 is medium with a CVSS score of 6.6.

5

What is the CWE for CVE-2023-36806?

The CWE for CVE-2023-36806 is CWE-79.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203