id: CVE-2021-25120 info: name: Easy Social Feed < 6.2.7 - Cross-Site Scripting author: dhiyaneshDk severity: medium description: Easy Social Feed < 6.2.7 is susceptible to reflected cross-site scripting because the plugin does not sanitize and escape a parameter before outputting it back in an admin dashboard page, leading to it being executed in the context of a logged admin or editor. reference: - https://wpscan.com/vulnerability/6dd00198-ef9b-4913-9494-e08a95e7f9a0 - https://www.cvedetails.com/cve/CVE-2021-25120/ - https://wpscan.com/vulnerability/0ad020b5-0d16-4521-8ea7-39cd206ab9f6 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-25120 cwe-id: CWE-79 tags: cve,cve2021,wordpress,wp-plugin,xss,authenticated requests: - raw: - | POST /wp-login.php HTTP/1.1 Host: {{Hostname}} Origin: {{RootURL}} Content-Type: application/x-www-form-urlencoded Cookie: wordpress_test_cookie=WP%20Cookie%20check log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1 - | GET /wp-admin/admin.php?page=easy-facebook-likebox&access_token=a&type= HTTP/1.1 Host: {{Hostname}} cookie-reuse: true matchers-condition: and matchers: - type: word part: body words: - "'type' : ''" - type: word part: header words: - text/html - type: status status: - 200 # Enhanced by mp on 2022/04/21