# CVE-2021-35210: Cross site scripting in the system log

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2021-06-23T09:34:44.000Z
- Modified: 2026-09-10T03:49:06.413Z
- Also known as: GHSA-h58v-c6rf-g9f7
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Contao 4.5.x through 4.9.x before 4.9.16, and 4.10.x through 4.11.x before 4.11.5, allows XSS. 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- contao/core-bundle (Packagist): from 4.5.0 before 4.9.16; from 4.10.0 before 4.11.5
- contao/contao (Packagist): from 4.5.0 before 4.9.16; from 4.10.0 before 4.11.5
- contao contao: from 4.5.0 before 4.9.16; from 4.10.0 before 4.11.5

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://contao.org/en/security-advisories/cross-site-scripting-in-the-system-log-2021.html> (vendor-advisory, web)
- <https://github.com/contao/contao/security/advisories/GHSA-h58v-c6rf-g9f7> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-35210> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35210.yaml> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35210.yaml> (web)
- <https://github.com/contao/contao> (package)

## Sources

- CVE List: [CVE-2021-35210](https://www.cve.org/CVERecord?id=CVE-2021-35210), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-h58v-c6rf-g9f7](https://github.com/advisories/GHSA-h58v-c6rf-g9f7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-35210](https://nvd.nist.gov/vuln/detail/CVE-2021-35210), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-35210 · Whole record: https://cve.day/CVE-2021-35210.json · Rebuilt by cve.day 2026-11-25T22:58:02.137Z
