cve.bz

CVE-2021-37626 contao contao: Code Injection

7.2 highEPSS 1.3%Fix available

High (7.2) in contao contao. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in contao/core-bundle 4.11.7, 4.4.56, 4.9.18.

On this page
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.

Severity

CVSS 3.1

7.2 high
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-37626 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-37626?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-37626?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-37626 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
contao:contaofrom 4.4.0 before 4.4.56
contao:contaofrom 4.9.0 before 4.9.18
contao:contaofrom 4.11.0 before 4.11.7
contao:contao4.0.0
contao:contao4.1.0
contao:contao4.2.0
contao:contao4.3.0
contao:contao4.5.0
contao:contao4.6.0
contao:contao4.7.0
contao:contao4.8.0
contao:contao4.10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r6mv-ppjc-4hgrPackagistcontao/core-bundle>=4.0.0 <4.4.564.4.56
GHSA-r6mv-ppjc-4hgrPackagistcontao/core-bundle>=4.5.0 <4.9.184.9.18
GHSA-r6mv-ppjc-4hgrPackagistcontao/core-bundle>=4.10.0 <4.11.74.11.7
GHSA-r6mv-ppjc-4hgrPackagistcontao/contao>=4.0.0 <4.4.564.4.56
GHSA-r6mv-ppjc-4hgrPackagistcontao/contao>=4.5.0 <4.9.184.9.18
GHSA-r6mv-ppjc-4hgrPackagistcontao/contao>=4.10.0 <4.11.74.11.7

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON