Cross site scripting in the system log
Impact
It is possible to inject code into the tl_log table that will be executed in the browser when the system log is called in the back end.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.5.0 before 4.9.16Ecosystem versions | 4.9.16 |
| From 4.10.0 before 4.11.5Ecosystem versions | 4.11.5 |
Version evidence: OSV · GHSA-h58v-c6rf-g9f7
View original version evidence (89 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 4.5.0 before 4.9.16Ecosystem versions | 4.9.16 |
| From 4.10.0 before 4.11.5Ecosystem versions | 4.11.5 |
Version evidence: OSV · GHSA-h58v-c6rf-g9f7
View original version evidence (73 explicit versions)
Original source description
Impact
It is possible to inject code into the tl_log table that will be executed in the browser when the system log is called in the back end.
Patches
Update to Contao 4.9.16 or 4.11.5.
Workarounds
Disable the system log module in the back end for all users (especially admin users).
References
https://contao.org/en/security-advisories/cross-site-scripting-in-the-system-log-2021
For more information
If you have any questions or comments about this advisory, open an issue in contao/contao.
References
- Security advisory github.com/contao/contao/security/advisories/GHSA-h58v-c6rf-g9f7
- Security advisory nvd.nist.gov/vuln/detail/CVE-2021-35210
- Security advisory contao.org/en/security-advisories/cross-site-scripting-in-the-system-log-2021.html
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35210.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35210.yaml
- Source reference github.com/contao/contao