{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-22142 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-22142 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-22142 is a high-severity cross-site scripting vulnerability in Cozmoslabs Profile Builder Pro, published on 12 Jan 2024. 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-2024-22142 and fix it if it is affected.\n\nWhat it is: CVE-2024-22142 is a high-severity cross-site scripting vulnerability in Cozmoslabs Profile Builder Pro, published on 12 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-22142 in the wild and no public exploit code.\n\nAffected product: Cozmoslabs Profile Builder Pro. 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-2024-22142/ (Markdown: https://insights.sbomify.com/CVE-2024-22142/index.md)","id":"CVE-2024-22142","markdown":"https://insights.sbomify.com/CVE-2024-22142/index.md","name":"CVE-2024-22142","record":{"aliases":["GHSA-j4px-8jfg-f7fp"],"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":"Attackers can execute arbitrary scripts in victim browsers via reflected XSS in the Profile Builder Pro plugin for WordPress.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Patchstack","cpe":[{"product":"profile_builder","vendor":"cozmoslabs"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Cozmoslabs Profile Builder Pro allows Reflected XSS.This issue affects Profile Builder Pro: from n/a through 3.10.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"WordPress Profile Builder Pro Plugin \u003c= 3.10.0 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2024-22142","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"WordPress WP Spell Check Plugin \u003c= 9.17 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2024-22143"},"packages":[],"prev":{"headline":"WordPress Profile Builder Pro Plugin \u003c= 3.10.0 is vulnerable to Sensitive Data Exposure","id":"CVE-2024-22141"},"products":["Profile Builder Pro"],"published":"2024-01-12","related":[{"cvss_score":9.8,"headline":"profile-builder \u003c= 3.11.8 - Unauthenticated Privilege Escalation","id":"CVE-2024-6695","kev_date_added":null,"published":"2024-07-31"},{"cvss_score":9.8,"headline":"Profile Builder – User Profile \u0026 User Registration Forms \u003c= 3.9.0 - Insecure Password Reset Mechanism","id":"CVE-2023-2297","kev_date_added":null,"published":"2023-04-26"},{"cvss_score":9.8,"headline":"Profile Builder \u003c 3.4.9 - Admin Access via Password Reset","id":"CVE-2021-24527","kev_date_added":null,"published":"2021-08-16"},{"cvss_score":9.1,"headline":"User Profile Builder \u003c 3.11.8 - Unauthenticated Media Upload","id":"CVE-2024-6366","kev_date_added":null,"published":"2024-07-29"},{"cvss_score":8.8,"headline":"WordPress Profile Builder Pro Plugin \u003c= 3.10.0 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2024-22140","kev_date_added":null,"published":"2024-01-31"},{"cvss_score":8.2,"headline":"Missing authorization in User Profile Builder – Beautiful User Registration Forms, User Profiles \u0026 User Role Editor","id":"CVE-2024-0324","kev_date_added":null,"published":"2024-02-05"},{"cvss_score":7.5,"headline":"Missing authorization in n/a","id":"CVE-2015-9337","kev_date_added":null,"published":"2019-08-22"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-28","vendors":["Cozmoslabs"]},"summary":"Attackers can execute arbitrary scripts in victim browsers via reflected XSS in the Profile Builder Pro plugin for WordPress.","url":"https://insights.sbomify.com/CVE-2024-22142/"}