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.
{"id": "CVE-2021-24429", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-24429", "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.", "published": "2021-07-12T20:15:00", "modified": "2021-07-15T15:20:00", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 4.3}, "severity": "MEDIUM", "exploitabilityScore": 8.6, "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:N/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM"}, "exploitabilityScore": 2.8, "impactScore": 2.7}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-24429", "reporter": "contact@wpscan.com", "references": ["https://wpscan.com/vulnerability/e922b788-7da5-43b4-9b05-839c8610252a"], "cvelist": ["CVE-2021-24429"], "immutableFields": [], "lastseen": "2022-03-23T14:54:31", "viewCount": 12, "enchantments": {"dependencies": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:E922B788-7DA5-43B4-9B05-839C8610252A"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:E922B788-7DA5-43B4-9B05-839C8610252A"]}], "rev": 4}, "score": {"value": 4.1, "vector": "NONE"}, "twitter": {"counter": 4, "modified": "2021-07-14T07:48:16", "tweets": [{"link": "https://twitter.com/www_sesin_at/status/1415719283720605702", "text": "New post from https://t.co/9KYxtdZjkl?amp=1 (CVE-2021-24429 (salon_booking_system)) has been published on https://t.co/LFcCu1SwGu?amp=1"}, {"link": "https://twitter.com/WolfgangSesin/status/1415719198156804096", "text": "New post from https://t.co/uXvPWJy6tj?amp=1 (CVE-2021-24429 (salon_booking_system)) has been published on https://t.co/zO58mFMJy4?amp=1"}, {"link": "https://twitter.com/threatintelctr/status/1415695415484235777", "text": " NEW: CVE-2021-24429 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... (click for more) Severity: MEDIUM https://t.co/q8D5zlB59Y?amp=1"}, {"link": "https://twitter.com/threatintelctr/status/1415695415484235777", "text": " NEW: CVE-2021-24429 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... (click for more) Severity: MEDIUM https://t.co/q8D5zlB59Y?amp=1"}]}, "backreferences": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:E922B788-7DA5-43B4-9B05-839C8610252A"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:E922B788-7DA5-43B4-9B05-839C8610252A"]}]}, "exploitation": null, "vulnersScore": 4.1}, "_state": {"dependencies": 0}, "_internal": {}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": [], "cpe23": [], "cwe": ["CWE-79"], "affectedSoftware": [{"cpeName": "salonbookingsystem:salon_booking_system", "version": "6.3.1", "operator": "lt", "name": "salonbookingsystem salon booking system"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:salonbookingsystem:salon_booking_system:6.3.1:*:*:*:*:wordpress:*:*", "versionEndExcluding": "6.3.1", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://wpscan.com/vulnerability/e922b788-7da5-43b4-9b05-839c8610252a", "name": "https://wpscan.com/vulnerability/e922b788-7da5-43b4-9b05-839c8610252a", "refsource": "CONFIRM", "tags": ["Exploit", "Third Party Advisory"]}]}
{"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"}}], "wpexploit": [{"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", "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": "wpexploit", "title": "Salon Booking System < 6.3.1 - Unauthenticated Stored Cross-Site Scripting (XSS) ", "bulletinFamily": "exploit", "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": "WPEX-ID:E922B788-7DA5-43B4-9B05-839C8610252A", "href": "", "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/)//", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}]}