Description
The Donation Button WordPress plugin through 4.0.0 does not sanitize and escapes some parameters, which could allow users with a role as low as Contributor to perform Cross-Site Scripting attacks.
Affected Software
Related
{"id": "CVE-2022-4005", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2022-4005", "description": "The Donation Button WordPress plugin through 4.0.0 does not sanitize and escapes some parameters, which could allow users with a role as low as Contributor to perform Cross-Site Scripting attacks.", "published": "2022-12-12T18:15:00", "modified": "2022-12-15T15:14:00", "cvss": {"score": 0.0, "vector": "NONE"}, "cvss2": {}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 5.4, "baseSeverity": "MEDIUM"}, "exploitabilityScore": 2.3, "impactScore": 2.7}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-4005", "reporter": "contact@wpscan.com", "references": ["https://wpscan.com/vulnerability/61d5c9b8-5c21-4ab5-b31c-e13ca19ea25c"], "cvelist": ["CVE-2022-4005"], "immutableFields": [], "lastseen": "2023-02-09T14:41:45", "viewCount": 20, "enchantments": {"score": {"value": 3.2, "vector": "NONE"}, "dependencies": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:61D5C9B8-5C21-4AB5-B31C-E13CA19EA25C"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:61D5C9B8-5C21-4AB5-B31C-E13CA19EA25C"]}]}, "affected_software": {"major_version": [{"name": "donation button project donation button", "version": 4}]}, "epss": [{"cve": "CVE-2022-4005", "epss": "0.000450000", "percentile": "0.118270000", "modified": "2023-03-20"}], "vulnersScore": 3.2}, "_state": {"score": 1675958347, "dependencies": 1675961342, "affected_software_major_version": 1677380494, "epss": 1679352629}, "_internal": {"score_hash": "83d29ab5b12d61858fcb9a6c82d87cf7"}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": ["cpe:/a:donation_button_project:donation_button:4.0.0"], "cpe23": ["cpe:2.3:a:donation_button_project:donation_button:4.0.0:*:*:*:*:wordpress:*:*"], "cwe": ["CWE-79"], "affectedSoftware": [{"cpeName": "donation_button_project:donation_button", "version": "4.0.0", "operator": "le", "name": "donation button project donation button"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:donation_button_project:donation_button:4.0.0:*:*:*:*:wordpress:*:*", "versionEndIncluding": "4.0.0", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://wpscan.com/vulnerability/61d5c9b8-5c21-4ab5-b31c-e13ca19ea25c", "name": "https://wpscan.com/vulnerability/61d5c9b8-5c21-4ab5-b31c-e13ca19ea25c", "refsource": "MISC", "tags": ["Exploit", "Third Party Advisory"]}], "product_info": [{"vendor": "Unknown", "product": "Donation Button"}]}
{"wpexploit": [{"lastseen": "2022-12-15T20:10:04", "description": "The plugin does not sanitize and escapes some parameters, which could allow users with a role as low as Contributor to perform Cross-Site Scripting attacks.\n", "cvss3": {"exploitabilityScore": 2.3, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "LOW", "baseScore": 5.4, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "version": "3.1", "userInteraction": "REQUIRED"}, "impactScore": 2.7}, "published": "2022-11-16T00:00:00", "type": "wpexploit", "title": "Donation Button <= 4.0.0 - Contributor+ Stored XSS", "bulletinFamily": "exploit", "cvss2": {}, "cvelist": ["CVE-2022-4005"], "modified": "2022-12-05T15:47:46", "id": "WPEX-ID:61D5C9B8-5C21-4AB5-B31C-E13CA19EA25C", "href": "", "sourceData": "Put the following shortcode in a blog post: [paypal_donation_button align='center\" onmouseover=\"alert(1)']", "cvss": {"score": 0.0, "vector": "NONE"}}], "wpvulndb": [{"lastseen": "2022-12-15T20:10:04", "description": "The plugin does not sanitize and escapes some parameters, which could allow users with a role as low as Contributor to perform Cross-Site Scripting attacks.\n\n### PoC\n\nPut the following shortcode in a blog post: [paypal_donation_button align='center\" onmouseover=\"alert(1)']\n", "cvss3": {"exploitabilityScore": 2.3, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "LOW", "baseScore": 5.4, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "version": "3.1", "userInteraction": "REQUIRED"}, "impactScore": 2.7}, "published": "2022-11-16T00:00:00", "type": "wpvulndb", "title": "Donation Button <= 4.0.0 - Contributor+ Stored XSS", "bulletinFamily": "software", "cvss2": {}, "cvelist": ["CVE-2022-4005"], "modified": "2022-12-05T15:47:46", "id": "WPVDB-ID:61D5C9B8-5C21-4AB5-B31C-E13CA19EA25C", "href": "https://wpscan.com/vulnerability/61d5c9b8-5c21-4ab5-b31c-e13ca19ea25c", "sourceData": "", "cvss": {"score": 0.0, "vector": "NONE"}}]}