{"id":"GHSA-fpxg-5x79-43rm","aliases":["CVE-2018-20756"],"title":"MODX Revolution allows XSS via document resources","description":"MODX Revolution through v2.7.0-pl allows XSS via a document resource (such as pagetitle), which is mishandled during an Update action, a Quick Edit action, or the viewing of manager logs.","severity":"medium","score":6.1,"published":"2022-05-14T01:36:14.000Z","modified":"2025-07-11T23:27:44.129Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"modx/revolution","ranges":[{"events":[{"introduced":"0"},{"fixed":"2.7.1-pl"}],"type":"ECOSYSTEM"}],"versions":["v2.7.0-pl"],"fixed":["2.7.1-pl"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-20756","https://github.com/modxcms/revolution/issues/14105","https://github.com/modxcms/revolution/pull/14335","https://github.com/modxcms/revolution/commit/71f894ee55dc4eed10538979761d6c94e8cd1078","https://github.com/modxcms/revolution"],"sources":[{"name":"OSV","id":"GHSA-fpxg-5x79-43rm","modified":"2025-07-11T23:27:44.129511Z","url":"https://osv.dev/vulnerability/GHSA-fpxg-5x79-43rm"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}]}