{"id":"CVE-2024-28234","aliases":["CVE-2024-28234","GHSA-j55w-hjpj-825g"],"related":[],"kind":"vulnerability","state":"published","title":"Contao has insufficient BBCode sanitizer","summary":"Contao is an open source content management system. Starting in version 2.0.0 and prior to versions 4.13.40 and 5.3.4, it is possible to inject CSS styles via BBCode in comments. Installations are only affected if BBCode is enabled. Contao versions 4.13.40 and 5.3.4 have a patch for this issue. As a workaround, disable BBCode for comments.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Contao is an open source content management system. Starting in version 2.0.0 and prior to versions 4.13.40 and 5.3.4, it is possible to inject CSS styles via BBCode in comments. Installations are only affected if BBCode is enabled. Contao versions 4.13.40 and 5.3.4 have a patch for this issue. As a workaround, disable BBCode for comments.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIf BBCode is enabled for comments, users can inject CSS styles.\n\n### Patches\n\nUpdate to Contao 4.13.40 or 5.3.4.\n\n### Workarounds\n\nDisable BBCode for comments.\n\n### References\n\nhttps://contao.org/en/security-advisories/insufficient-bbcode-sanitization\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 sistema de gestión de contenidos de código abierto. A partir de la versión 2.0.0 y anteriores a las versiones 4.13.40 y 5.3.4, es posible inyectar estilos CSS a través de BBCode en los comentarios. Las instalaciones sólo se ven afectadas si BBCode está habilitado. Las versiones 4.13.40 y 5.3.4 de Contao tienen un parche para este problema. Como workaround, desactive BBCode para comentarios.","source":"nvd"}],"published":"2024-04-09T13:59:41.300Z","modified":"2026-09-10T03:50:11.402Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":">= 2.0.0, < 4.13.40","status":"affected"},{"version":">= 5.0.0, < 5.3.4","status":"affected"}],"vendor":"contao","product":"contao","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"4.13.40"}],"ecosystem":"Packagist","package":"contao/comments-bundle","purl":"pkg:composer/contao/comments-bundle","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0-RC1","status":"affected","fixed":"5.3.4"}],"ecosystem":"Packagist","package":"contao/comments-bundle","purl":"pkg:composer/contao/comments-bundle","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0","fixed":"4.13.40"},{"status":"affected","introduced":"5.0.0","fixed":"5.3.4"}],"vendor":"contao","product":"contao","cpe":"cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/contao/contao/security/advisories/GHSA-j55w-hjpj-825g","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/contao/contao/commit/55b995d8d35da0d36bc6a22c53fe6423ab0c4ae2","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/contao/contao/commit/6d42e667177c972ae7c219645593c262d7764ce2","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://contao.org/en/security-advisories/insufficient-bbcode-sanitization","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28234","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/contao/contao","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-10T20:01:41.857Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-28234","url":"https://www.cve.org/CVERecord?id=CVE-2024-28234","licence":"CVE Terms of Use","modified":"2024-08-02T00:48:49.568Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j55w-hjpj-825g","url":"https://github.com/advisories/GHSA-j55w-hjpj-825g","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.402Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-28234","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28234","licence":"Public domain","modified":"2026-06-17T07:21:13.957Z"}],"updatedAt":"2026-11-25T22:58:38.894Z","epss":{"score":0.00572,"percentile":0.48664,"date":"2026-12-01T12:00:22.000Z"}}