The Advanced Custom Fields Pro WordPress plugin before 5.9.1 did not properly escape the generated update URL when outputting it in an attribute, leading to a reflected Cross-Site Scripting issue in the update settings page.
{"id": "CVE-2021-24241", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-24241", "description": "The Advanced Custom Fields Pro WordPress plugin before 5.9.1 did not properly escape the generated update URL when outputting it in an attribute, leading to a reflected Cross-Site Scripting issue in the update settings page.", "published": "2021-04-22T21:15:00", "modified": "2021-04-29T20:51: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-24241", "reporter": "contact@wpscan.com", "references": ["https://github.com/jdordonezn/Reflected-XSS-in-WordPress-for-ACF-PRO-before-5.9.1-plugin/issues/1", "https://wpscan.com/vulnerability/d1e9c995-37bd-4952-b88e-945e02e3c83f", "https://www.advancedcustomfields.com/blog/acf-5-9-1-release/"], "cvelist": ["CVE-2021-24241"], "immutableFields": [], "lastseen": "2022-03-23T14:50:07", "viewCount": 15, "enchantments": {"dependencies": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:D1E9C995-37BD-4952-B88E-945E02E3C83F"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:D1E9C995-37BD-4952-B88E-945E02E3C83F"]}], "rev": 4}, "score": {"value": 1.2, "vector": "NONE"}, "twitter": {"counter": 4, "modified": "2021-04-28T11:49:16", "tweets": [{"link": "https://twitter.com/WolfgangSesin/status/1387905874363101189", "text": "New post from https://t.co/uXvPWJy6tj?amp=1 (CVE-2021-24241 (advanced_custom_fields)) has been published on https://t.co/8j8CUoV3p4?amp=1"}, {"link": "https://twitter.com/WolfgangSesin/status/1387905874363101189", "text": "New post from https://t.co/uXvPWJy6tj?amp=1 (CVE-2021-24241 (advanced_custom_fields)) has been published on https://t.co/8j8CUoV3p4?amp=1"}, {"link": "https://twitter.com/www_sesin_at/status/1387905895556857856", "text": "New post from https://t.co/9KYxtdZjkl?amp=1 (CVE-2021-24241 (advanced_custom_fields)) has been published on https://t.co/aAXpOfzaj5?amp=1"}, {"link": "https://twitter.com/www_sesin_at/status/1387905895556857856", "text": "New post from https://t.co/9KYxtdZjkl?amp=1 (CVE-2021-24241 (advanced_custom_fields)) has been published on https://t.co/aAXpOfzaj5?amp=1"}]}, "backreferences": {"references": [{"type": "wpexploit", "idList": ["WPEX-ID:D1E9C995-37BD-4952-B88E-945E02E3C83F"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:D1E9C995-37BD-4952-B88E-945E02E3C83F"]}]}, "exploitation": null, "vulnersScore": 1.2}, "_state": {"dependencies": 0}, "_internal": {}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": [], "cpe23": [], "cwe": ["CWE-79"], "affectedSoftware": [{"cpeName": "advancedcustomfields:advanced_custom_fields", "version": "5.9.1", "operator": "lt", "name": "advancedcustomfields advanced custom fields"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:advancedcustomfields:advanced_custom_fields:5.9.1:*:*:*:pro:wordpress:*:*", "versionEndExcluding": "5.9.1", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://github.com/jdordonezn/Reflected-XSS-in-WordPress-for-ACF-PRO-before-5.9.1-plugin/issues/1", "name": "https://github.com/jdordonezn/Reflected-XSS-in-WordPress-for-ACF-PRO-before-5.9.1-plugin/issues/1", "refsource": "MISC", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://wpscan.com/vulnerability/d1e9c995-37bd-4952-b88e-945e02e3c83f", "name": "https://wpscan.com/vulnerability/d1e9c995-37bd-4952-b88e-945e02e3c83f", "refsource": "CONFIRM", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.advancedcustomfields.com/blog/acf-5-9-1-release/", "name": "https://www.advancedcustomfields.com/blog/acf-5-9-1-release/", "refsource": "MISC", "tags": ["Release Notes", "Vendor Advisory"]}]}
{"wpvulndb": [{"lastseen": "2021-04-09T15:26:58", "bulletinFamily": "software", "cvelist": ["CVE-2021-24241"], "description": "The plugin did not properly escape the generated update URL when outputting it in an attribute, leading to a reflected Cross-Site Scripting issue in the update settings page.\n\n### PoC\n\nThe PoC will be displayed on April 16, 2021, to give users the time to update.\n", "modified": "2021-04-04T07:00:59", "id": "WPVDB-ID:D1E9C995-37BD-4952-B88E-945E02E3C83F", "href": "https://wpscan.com/vulnerability/d1e9c995-37bd-4952-b88e-945e02e3c83f", "published": "2021-01-20T00:00:00", "type": "wpvulndb", "title": "Advanced Custom Field Pro < 5.9.1 - Reflected Cross-Site Scripting (XSS)", "sourceData": "", "cvss": {"score": 0.0, "vector": "NONE"}}], "wpexploit": [{"lastseen": "2021-04-09T15:26:58", "bulletinFamily": "exploit", "cvelist": ["CVE-2021-24241"], "description": "The plugin did not properly escape the generated update URL when outputting it in an attribute, leading to a reflected Cross-Site Scripting issue in the update settings page.\n", "modified": "2021-04-04T07:00:59", "published": "2021-01-20T00:00:00", "id": "WPEX-ID:D1E9C995-37BD-4952-B88E-945E02E3C83F", "href": "", "type": "wpexploit", "title": "Advanced Custom Field Pro < 5.9.1 - Reflected Cross-Site Scripting (XSS)", "sourceData": "The PoC will be displayed on April 16, 2021, to give users the time to update.", "cvss": {"score": 0.0, "vector": "NONE"}}], "patchstack": [{"lastseen": "2022-06-01T19:32:50", "description": "Reflected Cross-Site Scripting (XSS) vulnerability discovered by Juan David Ordo\u00f1ez Noriega in WordPress Advanced Custom Fields PRO plugin (versions <= 5.9.0).\n\n## Solution\n\n\r\n Update the WordPress Advanced Custom Fields PRO plugin to the latest available version (at least 5.9.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-04-02T00:00:00", "type": "patchstack", "title": "WordPress Advanced Custom Fields PRO plugin <= 5.9.0 - Reflected 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-24241"], "modified": "2021-04-02T00:00:00", "id": "PATCHSTACK:16E49D618CD55F2C4D7BA88378B68F21", "href": "https://patchstack.com/database/vulnerability/advanced-custom-fields-pro/wordpress-advanced-custom-fields-pro-plugin-5-9-0-reflected-cross-site-scripting-xss-vulnerability", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}]}