# Cross site scripting in the system log

Advisory record · `GHSA-h58v-c6rf-g9f7`

- **Identifiers:** `GHSA-h58v-c6rf-g9f7` · `CVE-2021-35210` · `PKSA-vwzw-wjqk-61c9` · `PKSA-ztzv-8k57-rm9h`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 1 Jul 2021
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 1 Jul 2021, 17:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `contao/core-bundle` (Packagist): affected `>=4.5.0, <4.9.16 || >=4.10.0, <4.11.5`; fixed in `4.9.16`, `4.11.5`
- `contao/contao` (Packagist): affected `>=4.5.0, <4.9.16 || >=4.10.0, <4.11.5`; fixed in `4.9.16`, `4.11.5`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Contao (contao/contao and contao/core-bundle) versions 4.5.0 to before 4.9.16, and 4.10.0 to before 4.11.5, are vulnerable to cross-site scripting in the system log. The source does not say what level of access an attacker needs to inject content into the tl_log table, but the injected code runs in the browser of a back end user who opens the system log. Upgrade to Contao 4.9.16 or 4.11.5. As a workaround, disable the system log module in the back end for all users, especially admin users.

Written 25 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.1 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0074, the 50th percentile, on 28 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:05 UTC: First seen by agentprime
- 31 Oct 2026, 14:05 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-h58v-c6rf-g9f7)

## Sources

- [GitHub Advisory Database: GHSA-h58v-c6rf-g9f7](https://github.com/advisories/GHSA-h58v-c6rf-g9f7)
- [OSV: GHSA-h58v-c6rf-g9f7](https://osv.dev/vulnerability/GHSA-h58v-c6rf-g9f7)
- <https://github.com/contao/contao/security/advisories/GHSA-h58v-c6rf-g9f7>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-35210>
- <https://contao.org/en/security-advisories/cross-site-scripting-in-the-system-log-2021.html>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35210.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35210.yaml>
- <https://github.com/contao/contao>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-h58v-c6rf-g9f7>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-h58v-c6rf-g9f7/>. Everything for agents: <https://agentprime.io/llms.txt>.
