5.3medium
Insert tag injection via canonical URL in Contao
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2xpq-xp6c-5mgj
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| contao contao | >= 4.13.0, < 4.13.49, >= 5.0.0, < 5.3.15, >= 5.4.0, < 5.4.3, from 4.13.0 before 4.13.49, from 5.0.0 before 5.3.15, from 5.4.0 before 5.4.3, from 5.3.0 before 5.3.15 | CVE List, NVD |
| contao/core-bundle (Packagist) | from 4.13.0 before 4.13.49, from 5.0.0 before 5.3.15, from 5.4.0 before 5.4.3 | GitHub Advisory Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Contao es un CMS de código abierto. En las versiones afectadas, un usuario no confiable puede insertar etiquetas de inserción en la etiqueta canónica, que luego se reemplazan en la página web (interfaz). Se recomienda a los usuarios que actualicen a Contao 4.13.49, 5.3.15 o 5.4.3. Los usuarios que no puedan actualizar deben deshabilitar las etiquetas canónicas en la configuración de la página raíz.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45612 changed 2024-09-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2xpq-xp6c-5mgj changed 2024-09-23 | CC-BY-4.0 |
| NVD | CVE-2024-45612 changed 2026-06-17 | Public domain |