{"id":"GHSA-gm2g-65wj-43g8","summary":"MODX Revolution allows XSS through extended user fields","details":"MODX Revolution through v2.7.0-pl allows XSS via an extended user field such as a Container name or Attribute name.","aliases":["CVE-2018-20757"],"modified":"2025-07-11T23:12:14.073217Z","published":"2022-05-14T01:36:14Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-07-11T22:37:46Z","nvd_published_at":"2019-02-06T17:29:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20757"},{"type":"WEB","url":"https://github.com/modxcms/revolution/issues/14104"},{"type":"WEB","url":"https://github.com/modxcms/revolution/commit/489b13c61673ea0b19124e18cf1f3e7673f8aa64"},{"type":"PACKAGE","url":"https://github.com/modxcms/revolution"}],"affected":[{"package":{"name":"modx/revolution","ecosystem":"Packagist","purl":"pkg:composer/modx/revolution"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1-pl"}]}],"versions":["v2.7.0-pl"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-gm2g-65wj-43g8/GHSA-gm2g-65wj-43g8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}