{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2941 exists.","fix":"No fix has been published for CVE-2022-2941 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-2941 is a medium-severity cross-site scripting vulnerability in gamerz WP-UserOnline, published on 6 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2941 and fix it if it is affected.\n\nWhat it is: CVE-2022-2941 is a medium-severity cross-site scripting vulnerability in gamerz WP-UserOnline, published on 6 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2941 exists.\n\nAffected product: gamerz WP-UserOnline. 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-2941/ (Markdown: https://insights.sbomify.com/CVE-2022-2941/index.md)","id":"CVE-2022-2941","markdown":"https://insights.sbomify.com/CVE-2022-2941/index.md","name":"CVE-2022-2941","record":{"aliases":["GHSA-pwp2-44q5-vv6j"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"WordPress plugin","requires_auth":"high_privilege","summary":"Administrators can inject JavaScript into WP-UserOnline settings, executing code on user pages in specific multi-site or unfiltered_html configurations.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"wp-useronline","vendor":"wp-useronline_project"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/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 WP-UserOnline plugin for WordPress has multiple Stored Cross-Site Scripting vulnerabilities in versions up to, and including 2.88.0. This is due to the fact that all fields in the \"Naming Conventions\" section do not properly sanitize user input, nor escape it on output. This makes it possible for authenticated attackers, with administrative privileges, to inject JavaScript code into the setting that will execute whenever a user accesses the injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2022-09-23","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-09-23","kind":"exploitdb","ref":"51020","stars":null,"title":"Wordpress Plugin WP-UserOnline 2.88.0 - Stored Cross Site Scripting (XSS)"}],"tier":"weaponised"},"has_fix":false,"headline":"WP-UserOnline \u003c= 2.88.0 - Authenticated (Admin+) Stored Cross-Site Scripting","id":"CVE-2022-2941","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":5,"next":{"headline":"WordPress Infinite Scroll – Ajax Load More \u003c= 5.5.3 - Authenticated (Admin+) Arbitrary File Read","id":"CVE-2022-2943"},"packages":[],"prev":{"headline":"WP Cerber Security \u003c= 9.0 - User Enumeration Bypass","id":"CVE-2022-2939"},"products":["WP-UserOnline"],"published":"2022-09-06","related":[{"cvss_score":5.5,"headline":"WP-UserOnline \u003c= 2.87.6 - Authenticated (Admin+) Stored Cross-Site Scripting","id":"CVE-2022-2473","kev_date_added":null,"published":"2022-09-06"}],"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":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["gamerz"]},"summary":"Administrators can inject JavaScript into WP-UserOnline settings, executing code on user pages in specific multi-site or unfiltered_html configurations.","url":"https://insights.sbomify.com/CVE-2022-2941/"}