CVE-2020-25768 Contao Insert tag injection in forms
Attackers can inject malicious insert tags in front-end forms, leading to script execution or data exposure when pages are rendered.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-25768?
CVE-2020-25768 is a medium-severity cross-site scripting vulnerability in n/a, published on 7 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Contao before 4.4.52, 4.9.x before 4.9.6, and 4.10.x before 4.10.1 have Improper Input Validation. It is possible to inject insert tags in front end forms which will be replaced when the page is rendered.
Which versions are affected by CVE-2020-25768?
12 open source packages ship an affected version, including contao/contao and contao/core-bundle. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
contao/contao Packagist | From 4.0.0 | 4.4.52 |
contao/contao Packagist | From 4.0.0 | 4.4.52 |
contao/contao Packagist | From 4.10.0 | 4.10.1 |
contao/contao Packagist | From 4.10.0 | 4.10.1 |
contao/contao Packagist | From 4.5.0 | 4.9.6 |
contao/contao Packagist | From 4.5.0 | 4.9.6 |
6 more packages
contao/core-bundle Packagist | From 4.0.0 | 4.4.52 |
contao/core-bundle Packagist | From 4.0.0 | 4.4.52 |
contao/core-bundle Packagist | From 4.10.0 | 4.10.1 |
contao/core-bundle Packagist | From 4.10.0 | 4.10.1 |
contao/core-bundle Packagist | From 4.5.0 | 4.9.6 |
contao/core-bundle Packagist | From 4.5.0 | 4.9.6 |
Products include Contao Contao.
How do I fix CVE-2020-25768?
Upgrade contao/contao to a fixed version for your release line: 4.4.52, 4.10.1 or 4.9.6.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-25768 being exploited?
There is no known exploitation of CVE-2020-25768 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2022-26265 Remote Code Execution in Contao Managed Edition
- CVE-2019-11512 Contao SQL injection in the file manager
- CVE-2012-4383 Contao core SQL Injection Vulnerability
- CVE-2019-19745 Unrestricted file uploads in Contao
- CVE-2024-28235 Contao possible cookie sharing with external domains while checking protected pages for broken links
Sources
Also known as GHSA-f7wm-x4gw-6m23.