The plugin does not properly sanitise and escape the First Name field when booking an appointment, allowing low privilege users such as subscriber to set JavaScript in them, leading to a Stored Cross-Site Scripting (XSS) vulnerability. The Payload will then be triggered when an admin visits the "Calendar" page and the malicious script is executed in the admin context.
{"id": "WPEX-ID:E922B788-7DA5-43B4-9B05-839C8610252A", "type": "wpexploit", "bulletinFamily": "exploit", "title": "Salon Booking System < 6.3.1 - Unauthenticated Stored Cross-Site Scripting (XSS) ", "description": "The plugin does not properly sanitise and escape the First Name field when booking an appointment, allowing low privilege users such as subscriber to set JavaScript in them, leading to a Stored Cross-Site Scripting (XSS) vulnerability. The Payload will then be triggered when an admin visits the \"Calendar\" page and the malicious script is executed in the admin context.\n", "published": "2021-06-21T00:00:00", "modified": "2021-06-25T07:15:40", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cvss2": {"acInsufInfo": false, "cvssV2": {"accessComplexity": "MEDIUM", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 4.3, "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0"}, "exploitabilityScore": 8.6, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": true}, "cvss3": {"cvssV3": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "version": "3.1"}, "exploitabilityScore": 2.8, "impactScore": 2.7}, "href": "", "reporter": "Phu Tran", "references": ["https://plugins.trac.wordpress.org/changeset/2550306/salon-booking-system"], "cvelist": ["CVE-2021-24429"], "immutableFields": [], "lastseen": "2021-09-14T23:17:31", "viewCount": 82, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2021-24429"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:E922B788-7DA5-43B4-9B05-839C8610252A"]}], "rev": 4}, "score": {"value": 3.4, "vector": "NONE"}, "backreferences": {"references": [{"type": "cve", "idList": ["CVE-2021-24429"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:E922B788-7DA5-43B4-9B05-839C8610252A"]}]}, "exploitation": null, "vulnersScore": 3.4}, "sourceData": "When booking an appointment, either as unauthenticated or any authenticated user, put the following payload in the First Name field: test\" onfocus=alert('XSS')\r\n\r\nThe payload will be triggered when an admin will access the appointment via the 'Calendar' page\r\n\r\n\r\nEdit (WPScanTeam): Payload w/o user interaction other than accessing the calendar page: \" style=\"animation-name:rotation\" onanimationstart=\"alert(/XSS/)//", "generation": 0, "_state": {"dependencies": 1646102302}}
{"patchstack": [{"lastseen": "2022-06-01T19:31:49", "description": "Unauthenticated Stored Cross-Site Scripting (XSS) vulnerability discovered by Phu Tran in WordPress Salon booking system plugin (versions <= 6.3)\n\n## Solution\n\n\r\n Update the WordPress Salon booking system plugin to the latest available version (at least 6.3.1).\r\n ", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "baseScore": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "version": "3.1", "userInteraction": "REQUIRED"}, "impactScore": 2.7}, "published": "2021-06-21T00:00:00", "type": "patchstack", "title": "WordPress Salon booking system plugin <= 6.3 - Unauthenticated Stored Cross-Site Scripting (XSS) vulnerability", "bulletinFamily": "software", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24429"], "modified": "2021-06-21T00:00:00", "id": "PATCHSTACK:92F8643667BB3747468B380A2EABF68C", "href": "https://patchstack.com/database/vulnerability/salon-booking-system/wordpress-salon-booking-system-plugin-6-3-unauthenticated-stored-cross-site-scripting-xss-vulnerability", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "wpvulndb": [{"lastseen": "2021-09-14T23:17:31", "description": "The plugin does not properly sanitise and escape the First Name field when booking an appointment, allowing low privilege users such as subscriber to set JavaScript in them, leading to a Stored Cross-Site Scripting (XSS) vulnerability. The Payload will then be triggered when an admin visits the \"Calendar\" page and the malicious script is executed in the admin context.\n\n### PoC\n\nWhen booking an appointment, either as unauthenticated or any authenticated user, put the following payload in the First Name field: test\" onfocus=alert('XSS') The payload will be triggered when an admin will access the appointment via the 'Calendar' page Edit (WPScanTeam): Payload w/o user interaction other than accessing the calendar page: \" style=\"animation-name:rotation\" onanimationstart=\"alert(/XSS/)//\n", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "baseScore": 6.1, "privilegesRequired": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "userInteraction": "REQUIRED", "version": "3.1"}, "impactScore": 2.7}, "published": "2021-06-21T00:00:00", "type": "wpvulndb", "title": "Salon Booking System < 6.3.1 - Unauthenticated Stored Cross-Site Scripting (XSS) ", "bulletinFamily": "software", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24429"], "modified": "2021-06-25T07:15:40", "id": "WPVDB-ID:E922B788-7DA5-43B4-9B05-839C8610252A", "href": "https://wpscan.com/vulnerability/e922b788-7da5-43b4-9b05-839c8610252a", "sourceData": "", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "cve": [{"lastseen": "2022-03-23T14:54:31", "description": "The Salon booking system WordPress plugin before 6.3.1 does not properly sanitise and escape the First Name field when booking an appointment, allowing low privilege users such as subscriber to set JavaScript in them, leading to a Stored Cross-Site Scripting (XSS) vulnerability. The Payload will then be triggered when an admin visits the \"Calendar\" page and the malicious script is executed in the admin context.", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "baseScore": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "version": "3.1", "userInteraction": "REQUIRED"}, "impactScore": 2.7}, "published": "2021-07-12T20:15:00", "type": "cve", "title": "CVE-2021-24429", "cwe": ["CWE-79"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24429"], "modified": "2021-07-15T15:20:00", "cpe": [], "id": "CVE-2021-24429", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-24429", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cpe23": []}]}