{"id":"CVE-2021-35210","aliases":["CVE-2021-35210","GHSA-h58v-c6rf-g9f7"],"related":[],"kind":"vulnerability","state":"published","title":"Cross site scripting in the system log","summary":"Contao 4.5.x through 4.9.x before 4.9.16, and 4.10.x through 4.11.x before 4.11.5, allows XSS. It is possible to inject code into the tl_log table that will be executed in the browser when the system log is called in the back end.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Contao 4.5.x through 4.9.x before 4.9.16, and 4.10.x through 4.11.x before 4.11.5, allows XSS. It is possible to inject code into the tl_log table that will be executed in the browser when the system log is called in the back end.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIt is possible to inject code into the `tl_log` table that will be executed in the browser when the system log is called in the back end.\n\n### Patches\n\nUpdate to Contao 4.9.16 or 4.11.5.\n\n### Workarounds\n\nDisable the system log module in the back end for all users (especially admin users).\n\n### References\n\nhttps://contao.org/en/security-advisories/cross-site-scripting-in-the-system-log-2021\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 versiones 4.5.x hasta 4.9.x anteriores a 4.9.16, y  versiones 4.10.x hasta 4.11.x anteriores a 4.11.5, permite un ataque de tipo XSS. Es posible inyectar código en la tabla tl_log que será ejecutada en el navegador cuando el registro del sistema es llamado en el back end","source":"nvd"}],"published":"2021-06-23T09:34:44.000Z","modified":"2026-09-10T03:49:06.413Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.5.0","status":"affected","fixed":"4.9.16"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.10.0","status":"affected","fixed":"4.11.5"}],"ecosystem":"Packagist","package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.5.0","status":"affected","fixed":"4.9.16"}],"ecosystem":"Packagist","package":"contao/contao","purl":"pkg:composer/contao/contao","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.10.0","status":"affected","fixed":"4.11.5"}],"ecosystem":"Packagist","package":"contao/contao","purl":"pkg:composer/contao/contao","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.5.0","fixed":"4.9.16"},{"status":"affected","introduced":"4.10.0","fixed":"4.11.5"}],"vendor":"contao","product":"contao","cpe":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://contao.org/en/security-advisories/cross-site-scripting-in-the-system-log-2021.html","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/contao/contao/security/advisories/GHSA-h58v-c6rf-g9f7","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35210","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35210.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35210.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-35210","url":"https://www.cve.org/CVERecord?id=CVE-2021-35210","licence":"CVE Terms of Use","modified":"2024-08-04T00:33:51.179Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h58v-c6rf-g9f7","url":"https://github.com/advisories/GHSA-h58v-c6rf-g9f7","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:06.413Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-35210","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-35210","licence":"Public domain","modified":"2026-06-17T03:57:18.333Z"}],"updatedAt":"2026-11-25T22:58:02.137Z","epss":{"score":0.0074,"percentile":0.558,"date":"2026-12-01T12:00:22.000Z"}}