{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3536 exists.","fix":"No fix has been published for CVE-2022-3536 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-3536 is a high-severity unsafe deserialization vulnerability in Unknown Role Based Pricing for WooCommerce, published on 7 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-3536 and fix it if it is affected.\n\nWhat it is: CVE-2022-3536 is a high-severity unsafe deserialization vulnerability in Unknown Role Based Pricing for WooCommerce, published on 7 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3536 exists.\n\nAffected product: Unknown Role Based Pricing for WooCommerce. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-3536/ (Markdown: https://insights.sbomify.com/CVE-2022-3536/index.md)","id":"CVE-2022-3536","markdown":"https://insights.sbomify.com/CVE-2022-3536/index.md","name":"CVE-2022-3536","record":{"aliases":["GHSA-fch5-fx89-m666"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Authenticated users can trigger PHAR deserialization attacks via file upload, potentially leading to remote code execution on the WordPress site.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"role_based_pricing_for_woocommerce","vendor":"addify"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"The Role Based Pricing for WooCommerce WordPress plugin before 1.6.3 does not have authorisation and proper CSRF checks, as well as does not validate path given via user input, allowing any authenticated users like subscriber to perform PHAR deserialization attacks when they can upload a file, and a suitable gadget chain is present on the blog","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Role Based Pricing for WooCommerce \u003c 1.6.3 - Subscriber+ PHAR Deserialization","id":"CVE-2022-3536","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Role Based Pricing for WooCommerce \u003c 1.6.2 - Subscriber+ Arbitrary File Upload","id":"CVE-2022-3537"},"packages":[],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2022-3535"},"products":["Role Based Pricing for WooCommerce"],"published":"2022-11-07","related":[{"cvss_score":8.8,"headline":"Role Based Pricing for WooCommerce \u003c 1.6.2 - Subscriber+ Arbitrary File Upload","id":"CVE-2022-3537","kev_date_added":null,"published":"2022-11-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-01","vendors":["Unknown"]},"summary":"Authenticated users can trigger PHAR deserialization attacks via file upload, potentially leading to remote code execution on the WordPress site.","url":"https://insights.sbomify.com/CVE-2022-3536/"}