{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24239 exists.","fix":"No fix has been published for CVE-2021-24239 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24239 is a medium-severity cross-site scripting vulnerability in Unknown Pie Register – User Registration Forms. Invitation based registrations, Custom Login, Payments, published on 22 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-24239 and fix it if it is affected.\n\nWhat it is: CVE-2021-24239 is a medium-severity cross-site scripting vulnerability in Unknown Pie Register – User Registration Forms. Invitation based registrations, Custom Login, Payments, published on 22 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24239 exists.\n\nAffected product: Unknown Pie Register – User Registration Forms. Invitation based registrations, Custom Login, Payments. 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-2021-24239/ (Markdown: https://insights.sbomify.com/CVE-2021-24239/index.md)","id":"CVE-2021-24239","markdown":"https://insights.sbomify.com/CVE-2021-24239/index.md","name":"CVE-2021-24239","record":{"aliases":["GHSA-qh44-665f-4v6g"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"An attacker can execute arbitrary scripts in a victim's browser via the invitation_code parameter in the Pie Register WordPress plugin.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"pie_register","vendor":"genetechsolutions"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"The Pie Register – User Registration Forms. Invitation based registrations, Custom Login, Payments WordPress plugin before 3.7.0.1 does not sanitise the invitaion_code GET parameter when outputting it in the Activation Code page, leading to a reflected Cross-Site Scripting issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-24239.yaml","stars":null,"title":"WordPress Pie Register \u003c3.7.0.1 - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":null,"headline":"Pie Register \u003c 3.7.0.1 - Reflected Cross-Site Scripting (XSS)","id":"CVE-2021-24239","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Business Hours Pro \u003c= 5.5.0 - Unauthenticated Arbitrary File Upload to RCE","id":"CVE-2021-24240"},"packages":[],"prev":{"headline":"Realteo \u003c 1.2.4 - Arbitrary Property Deletion via IDOR","id":"CVE-2021-24238"},"products":["Pie Register – User Registration Forms. Invitation based registrations, Custom Login, Payments"],"published":"2021-04-22","related":[{"cvss_score":10,"headline":"WordPress Pie Register plugin \u003c= 3.8.3.1 - Unauthenticated Arbitrary File Upload vulnerability","id":"CVE-2024-27957","kev_date_added":null,"published":"2024-03-17"},{"cvss_score":9.8,"headline":"Pie Register \u003c 3.7.1.6 - Unauthenticated SQL Injection","id":"CVE-2021-24731","kev_date_added":null,"published":"2021-11-08"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-15659","kev_date_added":null,"published":"2019-08-27"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2018-10969","kev_date_added":null,"published":"2018-06-17"},{"cvss_score":8.1,"headline":"Pie Register \u003c 3.7.1.6 - Unauthenticated Arbitrary Login","id":"CVE-2021-24647","kev_date_added":null,"published":"2021-11-08"},{"cvss_score":6.5,"headline":"Pie Register \u003c 3.8.1.3 - Unauthenticated Arbitrary User Deletion","id":"CVE-2022-4024","kev_date_added":null,"published":"2022-12-19"},{"cvss_score":6.5,"headline":"SQL injection in n/a","id":"CVE-2015-7682","kev_date_added":null,"published":"2015-10-16"}],"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Unknown"]},"summary":"An attacker can execute arbitrary scripts in a victim's browser via the invitation_code parameter in the Pie Register WordPress plugin.","url":"https://insights.sbomify.com/CVE-2021-24239/"}