CVE-2024-28191: Contao may have unencoded insert tags in the frontend

Published Apr 9, 2024
·
Updated

Impact

It is possible to inject insert tags via the form generator if the submitted form data is output on the page in a specific way.

Patches

Update to Contao 4.13.40 or 5.3.4.

Workarounds

Do not output the submitted form data on the website.

References

https://contao.org/en/security-advisories/insert-tag-injection-via-the-form-generator

For more information

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

Other sources

Contao is an open source content management system. Starting in version 4.0.0 and prior to version 4.13.40 and 5.3.4, it is possible to inject insert tags in frontend forms if the output is structured in a very specific way. Contao versions 4.13.40 and 5.3.4 have a patch for this issue. As a workaround, do not output user data from frontend forms next to each other, always separate them by at least one character.

— MITRE

Affected Software

4 affected componentsFixes available
composer/contao/core-bundle>=5.0.0-RC1<5.3.4
5.3.4
composer/contao/core-bundle>=4.0.0<4.13.40
4.13.40
Contao Contao>=4.0.0<4.13.40
Contao Contao>=5.0.0<5.3.4

Event History

Apr 9, 2024
CVE Published
via MITRE·01:54 PM
Data Sourced
via MITRE·01:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:52 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-28191?

CVE-2024-28191 has a severity rating that indicates a potential risk of injected tags via the form generator.

2

How do I fix CVE-2024-28191?

To fix CVE-2024-28191, update to Contao version 4.13.40 or 5.3.4.

3

What should I avoid to mitigate CVE-2024-28191?

To mitigate CVE-2024-28191, avoid outputting submitted form data on the website.

4

Which versions of Contao are affected by CVE-2024-28191?

CVE-2024-28191 affects all Contao versions prior to 4.13.40 and 5.3.4.

5

Is there a workaround for CVE-2024-28191?

Yes, the workaround for CVE-2024-28191 is to not output submitted form data on the page.

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