The WP-ShowHide WordPress plugin before 1.05 does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.
{"id": "CVE-2022-4825", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2022-4825", "description": "The WP-ShowHide WordPress plugin before 1.05 does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.", "published": "2023-02-06T20:15:00", "modified": "2023-02-13T20:14:00", "epss": [{"cve": "CVE-2022-4825", "epss": 0.00045, "percentile": 0.11954, "modified": "2023-06-03"}], "cvss": {"score": 4.9, "vector": "AV:N/AC:M/Au:S/C:P/I:P/A:N"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:M/Au:S/C:P/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "SINGLE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 4.9}, "severity": "MEDIUM", "exploitabilityScore": 6.8, "impactScore": 4.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}, "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-4825", "reporter": "contact@wpscan.com", "references": ["https://wpscan.com/vulnerability/a2758983-d3a7-4718-b5b8-30169df6780a"], "cvelist": ["CVE-2022-4825"], "immutableFields": [], "lastseen": "2023-06-03T15:15:43", "viewCount": 17, "enchantments": {"score": {"value": 2.5, "vector": "NONE"}, "dependencies": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:A2758983-D3A7-4718-B5B8-30169DF6780A"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:A2758983-D3A7-4718-B5B8-30169DF6780A"]}]}, "affected_software": {"major_version": [{"name": "download wp-showhide project download wp-showhide", "version": 1}]}, "epss": [{"cve": "CVE-2022-4825", "epss": 0.00045, "percentile": 0.11932, "modified": "2023-05-02"}], "vulnersScore": 2.5}, "_state": {"score": 1685805531, "dependencies": 1685838547, "affected_software_major_version": 0, "epss": 0}, "_internal": {"score_hash": "5263b0bb8d1d8f6c3b9df0e131cd4c87"}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": [], "cpe23": [], "cwe": ["CWE-79"], "affectedSoftware": [{"cpeName": "download_wp-showhide_project:download_wp-showhide", "version": "1.05", "operator": "lt", "name": "download wp-showhide project download wp-showhide"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:download_wp-showhide_project:download_wp-showhide:1.05:*:*:*:*:wordpress:*:*", "versionEndExcluding": "1.05", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://wpscan.com/vulnerability/a2758983-d3a7-4718-b5b8-30169df6780a", "name": "https://wpscan.com/vulnerability/a2758983-d3a7-4718-b5b8-30169df6780a", "refsource": "MISC", "tags": ["Exploit", "Third Party Advisory"]}], "product_info": [{"vendor": "Unknown", "product": "WP-ShowHide"}], "solutions": [], "workarounds": [], "impacts": [], "problemTypes": [{"descriptions": [{"description": "CWE-79 Cross-Site Scripting (XSS)", "lang": "en", "type": "CWE"}]}], "exploits": [], "assigned": "1976-01-01T00:00:00"}
{"wpvulndb": [{"lastseen": "2023-05-09T16:12:26", "description": "The plugin does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.\n\n### PoC\n\nExploit shortcode: [showhide type='\" 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": "2023-01-10T00:00:00", "type": "wpvulndb", "title": "WP-ShowHide < 1.05 - Contributor+ Stored XSS via Shortcode", "bulletinFamily": "software", "cvss2": {}, "cvelist": ["CVE-2022-4825"], "modified": "2023-01-10T02:10:39", "id": "WPVDB-ID:A2758983-D3A7-4718-B5B8-30169DF6780A", "href": "https://wpscan.com/vulnerability/a2758983-d3a7-4718-b5b8-30169df6780a", "sourceData": "", "cvss": {"score": 0.0, "vector": "NONE"}}], "wpexploit": [{"lastseen": "2023-05-09T16:12:26", "description": "The plugin does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.\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": "2023-01-10T00:00:00", "type": "wpexploit", "title": "WP-ShowHide < 1.05 - Contributor+ Stored XSS via Shortcode", "bulletinFamily": "exploit", "cvss2": {}, "cvelist": ["CVE-2022-4825"], "modified": "2023-01-10T02:10:39", "id": "WPEX-ID:A2758983-D3A7-4718-B5B8-30169DF6780A", "href": "", "sourceData": "Exploit shortcode:\r\n\r\n[showhide type='\" onmouseover=\"alert(1)\"']", "cvss": {"score": 0.0, "vector": "NONE"}}], "prion": [{"lastseen": "2023-08-15T23:52:32", "description": "The WP-ShowHide WordPress plugin before 1.05 does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admins.", "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": "2023-02-06T20:15:00", "type": "prion", "title": "CVE-2022-4825", "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 6.8, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "PARTIAL", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.9, "vectorString": "AV:N/AC:M/Au:S/C:P/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 4.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2022-4825"], "modified": "2023-02-13T20:14:00", "id": "PRION:CVE-2022-4825", "href": "https://kb.prio-n.com/vulnerability/CVE-2022-4825", "cvss": {"score": 4.9, "vector": "AV:N/AC:M/Au:S/C:P/I:P/A:N"}}]}