# CVE-2018-20757: MODX Revolution allows XSS through extended user fields

Source: https://junglewise.ai/threats/cve-2018-20757-modx-revolution-allows-xss-through-extended-user-fields  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-14  
License: CC BY 4.0 with a link back

CVE-2018-20757 · Severity: low · CVSS 3 · Published 2022-05-14

MODX Revolution allows XSS through extended user fields

Technologies: [modx/revolution (Packagist)](https://junglewise.ai/threats/technologies/modx-revolution). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

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

**How severe is CVE-2018-20757?** Low severity, with a CVSS score of 3, published 14 May 2022.

**Which products and versions are affected?** modx/revolution (Packagist) ECOSYSTEM:introduced=0,fixed=2.7.1-pl.

**Is there a fix for CVE-2018-20757?** Yes. modx/revolution (Packagist): upgrade to 2.7.1-pl or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-20757?** Check whether you run modx/revolution (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

- modx/revolution (Packagist): upgrade to 2.7.1-pl or later

  ```sh
  composer require modx/revolution:^2.7.1-pl
  ```


## Affected products

- modx/revolution (Packagist) ECOSYSTEM:introduced=0,fixed=2.7.1-pl

## Identifiers

- CVE-2018-20757
- GHSA-gm2g-65wj-43g8

## Related threats

- [MODX allows cross-site scripting (XSS) via an SVG file](https://junglewise.ai/threats/cve-2025-28010-modx-allows-cross-site-scripting-xss-via-an-svg-file)
- [MODX Revolution XSS via HTTP Host header](https://junglewise.ai/threats/cve-2017-9071-modx-revolution-xss-via-http-host-header)
- [MODX Revolution Reflected XSS](https://junglewise.ai/threats/cve-2017-9068-modx-revolution-reflected-xss)
- [MODX Revolution allows overwriting .htaccess](https://junglewise.ai/threats/cve-2017-9069-modx-revolution-allows-overwriting-htaccess)
- [MODX Revolution cross-site scripting vulnerability](https://junglewise.ai/threats/cve-2017-9070-modx-revolution-cross-site-scripting-vulnerability)
