VYPR
Moderate severityNVD Advisory· Published Mar 16, 2020· Updated Aug 5, 2024

CVE-2018-10125

CVE-2018-10125

Description

Contao before 4.5.7 has XSS in the system log.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Contao before 4.5.7 contains a cross-site scripting vulnerability in the system log, allowing authenticated administrators to inject malicious scripts.

Vulnerability

Overview

Contao versions prior to 4.5.7 are affected by a cross-site scripting (XSS) vulnerability in the system log [1][2]. The flaw occurs because user-supplied input is not properly sanitized before being written to the system log, enabling an attacker to inject arbitrary web script or HTML [2].

Exploitation

The vulnerability is exploitable by any authenticated user who can trigger log entries, such as by performing actions that generate log messages with malicious payloads. An attacker with administrative access to the Contao backend can craft a request that stores XSS code in the system log. When another administrator views the log, the injected script executes in their browser session [2].

Impact

Successful exploitation allows an attacker to execute JavaScript in the context of the victim's browser. This can lead to session hijacking, data exfiltration, or further compromise of the Contao installation [1][2].

Mitigation

Users should upgrade to Contao version 4.5.7 or later, which resolves the issue by properly sanitizing log entries [1][2]. No workarounds are known.

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
contao/contaoPackagist
>= 4.0.0, < 4.4.184.4.18
contao/contaoPackagist
>= 4.5.0, < 4.5.84.5.8
contao/core-bundlePackagist
>= 4.0.0, < 4.4.184.4.18
contao/core-bundlePackagist
>= 4.5.0, < 4.5.84.5.8
contao/corePackagist
>= 3.0.0, < 3.5.353.5.35
contao/core-bundlePackagist
>= 3.0.0, < 3.5.353.5.35

Affected products

4

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

8

News mentions

0

No linked articles in our index yet.