{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24522 exists.","fix":"No fix has been published for CVE-2021-24522 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24522 is a medium-severity cross-site scripting vulnerability in Unknown User Registration, User Profile, Login \u0026 Membership – ProfilePress (Formerly WP User Avatar), published on 9 Aug 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-24522 and fix it if it is affected.\n\nWhat it is: CVE-2021-24522 is a medium-severity cross-site scripting vulnerability in Unknown User Registration, User Profile, Login \u0026 Membership – ProfilePress (Formerly WP User Avatar), published on 9 Aug 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-24522 exists.\n\nAffected product: Unknown User Registration, User Profile, Login \u0026 Membership – ProfilePress (Formerly WP User Avatar). 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-24522/ (Markdown: https://insights.sbomify.com/CVE-2021-24522/index.md)","id":"CVE-2021-24522","markdown":"https://insights.sbomify.com/CVE-2021-24522/index.md","name":"CVE-2021-24522","record":{"aliases":["GHSA-6hqj-g24g-vjcr"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["account_takeover","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can inject malicious scripts via the login widget, potentially gaining administrative access to the WordPress site.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"profilepress","vendor":"properfraction"}],"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 User Registration, User Profile, Login \u0026 Membership – ProfilePress (Formerly WP User Avatar) WordPress plugin before 3.1.11's widget for tabbed login/register was not properly escaped and could be used in an XSS attack which could lead to wp-admin access. Further, the plugin in several places assigned $_POST as $_GET which meant that in some cases this could be replicated with just $_GET parameters and no need for $_POST values.","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-24522.yaml","stars":null,"title":"ProfilePress \u003c 3.1.11 - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":null,"headline":"ProfilePress \u003c 3.1.11 - Unauthenticated Cross-Site Scripting (XSS) in tabbed login/register widget","id":"CVE-2021-24522","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Daily Prayer Time \u003c 2021.08.10 - Authenticated Stored XSS","id":"CVE-2021-24523"},"packages":[],"prev":{"headline":"Side Menu Lite \u003c 2.2.1 - Authenticated SQL Injection","id":"CVE-2021-24521"},"products":["User Registration, User Profile, Login \u0026 Membership – ProfilePress (Formerly WP User Avatar)"],"published":"2021-08-09","related":[{"cvss_score":9.8,"headline":"ProfilePress 3.0 - 3.1.3 - Unauthenticated Privilege Escalation","id":"CVE-2021-34621","kev_date_added":null,"published":"2021-07-07"},{"cvss_score":9.8,"headline":"ProfilePress 3.0 - 3.1.3 - Authenticated Privilege Escalation","id":"CVE-2021-34622","kev_date_added":null,"published":"2021-07-07"},{"cvss_score":9.8,"headline":"ProfilePress 3.0 - 3.1.3 - Arbitrary File Upload in Image Uploader Component","id":"CVE-2021-34623","kev_date_added":null,"published":"2021-07-07"},{"cvss_score":9.8,"headline":"ProfilePress 3.0 - 3.1.3 - Arbitrary File Upload in File Uploader Component","id":"CVE-2021-34624","kev_date_added":null,"published":"2021-07-07"},{"cvss_score":8.6,"headline":"WordPress ProfilePress plugin \u003c= 4.13.1 - Unauthenticated Limited Privilege Escalation vulnerability","id":"CVE-2023-41954","kev_date_added":null,"published":"2024-05-17"},{"cvss_score":8.1,"headline":"ProfilePress - Pro \u003c= 4.11.1 - Authentication Bypass via WordPress.com OAuth provider","id":"CVE-2024-9947","kev_date_added":null,"published":"2024-10-23"},{"cvss_score":7.5,"headline":"WordPress ProfilePress Plugin \u003c= 4.13.2 is vulnerable to Sensitive Data Exposure","id":"CVE-2023-44150","kev_date_added":null,"published":"2023-11-30"}],"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":"Unauthenticated attackers can inject malicious scripts via the login widget, potentially gaining administrative access to the WordPress site.","url":"https://insights.sbomify.com/CVE-2021-24522/"}