# CVE-2018-10125: Cross-site Scripting in Contao

Source: https://junglewise.ai/threats/cve-2018-10125-cross-site-scripting-in-contao  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-10  
License: CC BY 4.0 with a link back

CVE-2018-10125 · Severity: low · CVSS 3.1 · Published 2022-02-10

Cross-site Scripting in Contao

Technologies: [contao/contao (Packagist)](https://junglewise.ai/threats/technologies/contao-contao), [contao/core (Packagist)](https://junglewise.ai/threats/technologies/contao-core), [contao/core-bundle (Packagist)](https://junglewise.ai/threats/technologies/contao-core-bundle). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2018-10125 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-10125 being exploited in the wild.

**How severe is CVE-2018-10125?** Low severity, with a CVSS score of 3.1, published 10 February 2022.

**Which products and versions are affected?** contao/contao (Packagist) ECOSYSTEM:introduced=4.0.0,fixed=4.4.18; contao/core (Packagist) ECOSYSTEM:introduced=3.0.0,fixed=3.5.35; contao/core-bundle (Packagist) ECOSYSTEM:introduced=4.0.0,fixed=4.4.18.

**Is there a fix for CVE-2018-10125?** Yes. contao/contao (Packagist): upgrade to 4.4.18 or later; contao/core (Packagist): upgrade to 3.5.35 or later; contao/core-bundle (Packagist): upgrade to 4.4.18 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-10125?** Check whether you run contao/contao (Packagist), contao/core (Packagist) or contao/core-bundle (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- contao/contao (Packagist): upgrade to 4.4.18 or later

  ```sh
  composer require contao/contao:^4.4.18
  ```

- contao/core (Packagist): upgrade to 3.5.35 or later

  ```sh
  composer require contao/core:^3.5.35
  ```

- contao/core-bundle (Packagist): upgrade to 4.4.18 or later

  ```sh
  composer require contao/core-bundle:^4.4.18
  ```


## Affected products

- contao/contao (Packagist) ECOSYSTEM:introduced=4.0.0,fixed=4.4.18
- contao/core (Packagist) ECOSYSTEM:introduced=3.0.0,fixed=3.5.35
- contao/core-bundle (Packagist) ECOSYSTEM:introduced=4.0.0,fixed=4.4.18

## Identifiers

- CVE-2018-10125
- GHSA-pj4j-287j-f742

## Related threats

- [Contao improper access control in table access voter](https://junglewise.ai/threats/cve-2026-107851-contao-improper-access-control-in-the-table-access-voter)
- [Contao improper access control in preview links module](https://junglewise.ai/threats/cve-2026-107850-contao-improper-access-control-in-the-preview-links-module)
- [Contao: Cross-site request forgery in custom backend actions](https://junglewise.ai/threats/cve-2026-107848-contao-cross-site-request-forgery-in-custom-backend-actions)
- [Contao path traversal in images controller](https://junglewise.ai/threats/cve-2026-107844-contao-path-traversal-in-the-images-controller)
- [Contao registration module unvalidated mail resend](https://junglewise.ai/threats/cve-2026-107843-contao-the-registration-module-re-sends-activation-mails)
