In the GetPaid WordPress plugin before 2.3.4, users with the contributor role and above can create a new Payment Form, however the Label and Help Text input fields were not getting sanitized properly. So it was possible to inject malicious content such as img tags, leading to a Stored Cross-Site Scripting issue which is triggered when the form will be edited, for example when an admin reviews it and could lead to privilege escalation.
{"id": "CVE-2021-24369", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-24369", "description": "In the GetPaid WordPress plugin before 2.3.4, users with the contributor role and above can create a new Payment Form, however the Label and Help Text input fields were not getting sanitized properly. So it was possible to inject malicious content such as img tags, leading to a Stored Cross-Site Scripting issue which is triggered when the form will be edited, for example when an admin reviews it and could lead to privilege escalation.", "published": "2021-06-21T20:15:00", "modified": "2021-06-25T16:31:00", "cvss": {"score": 3.5, "vector": "AV:N/AC:M/Au:S/C:N/I:P/A:N"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "SINGLE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 3.5}, "severity": "LOW", "exploitabilityScore": 6.8, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true}, "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-2021-24369", "reporter": "contact@wpscan.com", "references": ["https://wpscan.com/vulnerability/1d1a731b-78f7-4d97-b40d-80f66700edae"], "cvelist": ["CVE-2021-24369"], "immutableFields": [], "lastseen": "2022-03-23T14:53:15", "viewCount": 22, "enchantments": {"dependencies": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:1D1A731B-78F7-4D97-B40D-80F66700EDAE"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:1D1A731B-78F7-4D97-B40D-80F66700EDAE"]}], "rev": 4}, "score": {"value": 2.0, "vector": "NONE"}, "backreferences": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:1D1A731B-78F7-4D97-B40D-80F66700EDAE"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:1D1A731B-78F7-4D97-B40D-80F66700EDAE"]}]}, "exploitation": null, "vulnersScore": 2.0}, "_state": {"dependencies": 0}, "_internal": {}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": [], "cpe23": [], "cwe": ["CWE-79"], "affectedSoftware": [{"cpeName": "ayecode:getpaid", "version": "2.3.4", "operator": "lt", "name": "ayecode getpaid"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:ayecode:getpaid:2.3.4:*:*:*:*:wordpress:*:*", "versionEndExcluding": "2.3.4", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://wpscan.com/vulnerability/1d1a731b-78f7-4d97-b40d-80f66700edae", "name": "https://wpscan.com/vulnerability/1d1a731b-78f7-4d97-b40d-80f66700edae", "refsource": "CONFIRM", "tags": ["Exploit", "Third Party Advisory"]}]}
{"patchstack": [{"lastseen": "2022-06-01T19:32:06", "description": "Authenticated Stored Cross-Site Scripting (XSS) vulnerability discovered by J\u00f6rg Steinstr\u00e4ter in WordPress GetPaid plugin (versions <= 2.3.3).\n\n## Solution\n\n\r\n Update the WordPress GetPaid plugin to the latest available version (at least 2.3.4).\r\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": "2021-06-02T00:00:00", "type": "patchstack", "title": "WordPress GetPaid plugin <= 2.3.3 - Authenticated Stored Cross-Site Scripting (XSS) vulnerability", "bulletinFamily": "software", "cvss2": {"severity": "LOW", "exploitabilityScore": 6.8, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 3.5, "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24369"], "modified": "2021-06-02T00:00:00", "id": "PATCHSTACK:32E62FA5A1126FBDB53C4C77651FF9E7", "href": "https://patchstack.com/database/vulnerability/invoicing/wordpress-getpaid-plugin-2-3-3-authenticated-stored-cross-site-scripting-xss-vulnerability", "cvss": {"score": 3.5, "vector": "AV:N/AC:M/Au:S/C:N/I:P/A:N"}}], "wpvulndb": [{"lastseen": "2021-09-14T23:32:46", "description": "In the plugin, users with the contributor role and above can create a new Payment Form, however the Label and Help Text input fields were not getting sanitized properly. So it was possible to inject malicious content such as img tags, leading to a Stored Cross-Site Scripting issue which is triggered when the form will be edited, for example when an admin reviews it and could lead to privilege escalation.\n\n### PoC\n\nhttps://www.youtube.com/watch?v=1VHJ0Ig80WM Steps to reproduce: 1) Sign in with an Contributor Account 2) Create a Form and add  to the Help Text or Field Label option of any field 3) The XSS will fire because of the live render. Discard this alert Box and post your Form for review 4) Sign in with your admin account and check the new form in the backend (like when reviewing it). 5) Observe the XSS Impact: Every user with the contributor role can execute malicious javascript. This makes it possible to insert rogue admin accounts via the xss and take over the site\n", "cvss3": {"exploitabilityScore": 2.3, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "baseScore": 5.4, "privilegesRequired": "LOW", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "userInteraction": "REQUIRED", "version": "3.1"}, "impactScore": 2.7}, "published": "2021-06-02T00:00:00", "type": "wpvulndb", "title": "GetPaid < 2.3.4 - Authenticated Stored XSS", "bulletinFamily": "software", "cvss2": {"severity": "LOW", "exploitabilityScore": 6.8, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 3.5, "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "acInsufInfo": false, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24369"], "modified": "2021-06-25T07:09:03", "id": "WPVDB-ID:1D1A731B-78F7-4D97-B40D-80F66700EDAE", "href": "https://wpscan.com/vulnerability/1d1a731b-78f7-4d97-b40d-80f66700edae", "sourceData": "", "cvss": {"score": 3.5, "vector": "AV:N/AC:M/Au:S/C:N/I:P/A:N"}}], "wpexploit": [{"lastseen": "2021-09-14T23:32:46", "description": "In the plugin, users with the contributor role and above can create a new Payment Form, however the Label and Help Text input fields were not getting sanitized properly. So it was possible to inject malicious content such as img tags, leading to a Stored Cross-Site Scripting issue which is triggered when the form will be edited, for example when an admin reviews it and could lead to privilege escalation.\n", "cvss3": {"exploitabilityScore": 2.3, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "baseScore": 5.4, "privilegesRequired": "LOW", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "userInteraction": "REQUIRED", "version": "3.1"}, "impactScore": 2.7}, "published": "2021-06-02T00:00:00", "type": "wpexploit", "title": "GetPaid < 2.3.4 - Authenticated Stored XSS", "bulletinFamily": "exploit", "cvss2": {"severity": "LOW", "exploitabilityScore": 6.8, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 3.5, "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "acInsufInfo": false, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24369"], "modified": "2021-06-25T07:09:03", "id": "WPEX-ID:1D1A731B-78F7-4D97-B40D-80F66700EDAE", "href": "", "sourceData": "https://www.youtube.com/watch?v=1VHJ0Ig80WM\r\n\r\nSteps to reproduce:\r\n\r\n1) Sign in with an Contributor Account\r\n\r\n2) Create a Form and add <img src=x onerror=alert(1) /> to the Help Text or Field Label option of any field\r\n\r\n3) The XSS will fire because of the live render. Discard this alert Box and post your Form for review\r\n\r\n4) Sign in with your admin account and check the new form in the backend (like when reviewing it).\r\n\r\n5) Observe the XSS\r\n\r\nImpact: Every user with the contributor role can execute malicious javascript. This makes it possible to insert rogue admin accounts via the xss and take over the site", "cvss": {"score": 3.5, "vector": "AV:N/AC:M/Au:S/C:N/I:P/A:N"}}]}