CVE-2024-45612: Insert tag injection via canonical URL in Contao

Published Sep 17, 2024
·
Updated

Impact

It is possible to inject insert tags in canonical URLs which will be replaced when the page is rendered.

Patches

Update to Contao 4.13.49, 5.3.15 or 5.4.3.

Workarounds

Disable canonical tags in the settings of the website root page.

References

https://contao.org/en/security-advisories/insert-tag-injection-via-canonical-urls

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 CMS. In affected versions an untrusted user can inject insert tags into the canonical tag, which are then replaced on the web page (front end). Users are advised to update to Contao 4.13.49, 5.3.15 or 5.4.3. Users unable to upgrade should disable canonical tags in the root page settings.

— MITRE

Affected Software

6 affected componentsFixes available
composer/contao/core-bundle>=5.4.0<5.4.3
5.4.3
composer/contao/core-bundle>=5.0.0<5.3.15
5.3.15
composer/contao/core-bundle>=4.13.0<4.13.49
4.13.49
Contao Contao>=4.13.0<4.13.49
Contao Contao>=5.3.0<5.3.15
Contao Contao>=5.4.0<5.4.3

Event History

Sep 17, 2024
Advisory Published
via GitHub·02:59 PM
CVE Published
via MITRE·06:29 PM
Data Sourced
via MITRE·06:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-45612?

CVE-2024-45612 is considered a moderate severity vulnerability due to its potential for injective HTML content into canonical URLs.

2

How do I fix CVE-2024-45612?

To fix CVE-2024-45612, you should update your Contao installation to versions 4.13.49, 5.3.15, or 5.4.3.

3

What are the affected versions for CVE-2024-45612?

CVE-2024-45612 affects Contao versions 4.13.0 to 4.13.49, 5.0.0 to 5.3.15, and 5.4.0 to 5.4.3.

4

What is the workaround for CVE-2024-45612?

The workaround for CVE-2024-45612 is to disable canonical tags in the settings of the website root page.

5

What does CVE-2024-45612 allow attackers to do?

CVE-2024-45612 allows attackers to inject insert tags in canonical URLs, which could lead to compromised rendering of the web 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