{"id":"CVE-2024-45612","aliases":["CVE-2024-45612","GHSA-2xpq-xp6c-5mgj"],"related":[],"kind":"vulnerability","state":"published","title":"Insert tag injection via canonical URL in Contao","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIt is possible to inject insert tags in canonical URLs which will be replaced when the page is rendered.\n\n### Patches\n\nUpdate to Contao 4.13.49, 5.3.15 or 5.4.3.\n\n### Workarounds\n\nDisable canonical tags in the settings of the website root page.\n\n### References\n\nhttps://contao.org/en/security-advisories/insert-tag-injection-via-canonical-urls\n\n### For more information\n\nIf you have any questions or comments about this advisory, open an issue in [contao/contao](https://github.com/contao/contao/issues/new/choose).","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-09-17T14:59:02.000Z","modified":"2026-06-17T07:54:33.890Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-74","CWE-79"],"affected":[{"ranges":[{"version":">= 4.13.0, < 4.13.49","status":"affected"},{"version":">= 5.0.0, < 5.3.15","status":"affected"},{"version":">= 5.4.0, < 5.4.3","status":"affected"}],"vendor":"contao","product":"contao","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"4.13.0","fixed":"4.13.49","status":"affected"},{"type":"custom","introduced":"5.0.0","fixed":"5.3.15","status":"affected"},{"type":"custom","introduced":"5.4.0","fixed":"5.4.3","status":"affected"}],"vendor":"contao","product":"contao","cpe":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.13.0","status":"affected","fixed":"4.13.49"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.3.15"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.4.0","status":"affected","fixed":"5.4.3"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.13.0","fixed":"4.13.49"},{"status":"affected","introduced":"5.3.0","fixed":"5.3.15"},{"status":"affected","introduced":"5.4.0","fixed":"5.4.3"}],"vendor":"contao","product":"contao","cpe":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-2xpq-xp6c-5mgj","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://contao.org/en/security-advisories/insert-tag-injection-via-canonical-urls","tags":["vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45612","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao/commit/1c28e9ac7a7b915134962a59681a8701a44ccbe2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao/commit/d105224e14ddc84f27cd8802b553369decdcbe66","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao/commit/ffe05cda5310dc2bd259d1391197f3849dab8590","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-09-18T14:06:58.302Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45612","url":"https://www.cve.org/CVERecord?id=CVE-2024-45612","licence":"CVE Terms of Use","modified":"2024-09-18T14:09:48.584Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2xpq-xp6c-5mgj","url":"https://github.com/advisories/GHSA-2xpq-xp6c-5mgj","licence":"CC-BY-4.0","modified":"2024-09-23T21:49:44.127Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45612","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45612","licence":"Public domain","modified":"2026-06-17T07:54:33.890Z"}],"updatedAt":"2026-11-25T22:58:45.512Z","epss":{"score":0.00298,"percentile":0.2415,"date":"2026-12-01T12:00:22.000Z"}}