id: CVE-2022-38467 info: name: CRM Perks Forms < 1.1.1 - Cross Site Scripting author: r3Y3r53 severity: medium description: | The plugin does not sanitise and escape some parameters from a sample file before outputting them back in the page, leading to Reflected Cross-Site Scripting remediation: Fixed in version 1.1.1 reference: - https://wpscan.com/vulnerability/4b128c9c-366e-46af-9dd2-e3a9624e3a53 - https://wordpress.org/plugins/crm-perks-forms/ - https://nvd.nist.gov/vuln/detail/CVE-2022-38467 - https://patchstack.com/database/vulnerability/crm-perks-forms/wordpress-crm-perks-forms-plugin-1-1-0-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve 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-38467 cwe-id: CWE-79 epss-score: 0.00071 epss-percentile: 0.29548 cpe: cpe:2.3:a:crmperks:crm_perks_forms:*:*:*:*:*:wordpress:*:* metadata: verified: true max-request: 2 vendor: crmperks product: crm_perks_forms framework: wordpress tags: crm-perks-forms,wpscan,cve,cve2022,wordpress,wp,wp-plugin,xss http: - raw: - | GET /wp-content/plugins/crm-perks-forms/readme.txt HTTP/1.1 Host: {{Hostname}} - | GET /wp-content/plugins/crm-perks-forms/templates/sample_file.php?FirstName=&LastName=&%20Company= HTTP/1.1 Host: {{Hostname}} matchers: - type: dsl dsl: - 'status_code_1 == 200' - 'contains(content_type_2, "text/html")' - 'contains(body_1, "CRM Perks Forms") && contains(body_2, "")' condition: and # digest: 4a0a0047304502205bcfddbe9862d717cb3fad2f988fbac8382e4aa3692e796b070ca2dca82ba15d022100c33a25a674c3e2190d5c77773c4536594903f82040bc43c4bd34abb96fafa8e8:922c64590222798bb761d5b6d8e72950