{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4310 exists.","fix":"No fix has been published for CVE-2022-4310 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-4310 is a medium-severity cross-site scripting vulnerability in Unknown Slimstat Analytics, published on 9 Jan 2023. 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-2022-4310 and fix it if it is affected.\n\nWhat it is: CVE-2022-4310 is a medium-severity cross-site scripting vulnerability in Unknown Slimstat Analytics, published on 9 Jan 2023. 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-2022-4310 exists.\n\nAffected product: Unknown Slimstat Analytics. 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-4310/ (Markdown: https://insights.sbomify.com/CVE-2022-4310/index.md)","id":"CVE-2022-4310","markdown":"https://insights.sbomify.com/CVE-2022-4310/index.md","name":"CVE-2022-4310","record":{"aliases":["GHSA-r87w-g396-c68p"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can inject malicious scripts via URI logging, leading to code execution or account takeover when admins view logs.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"slimstat_analytics","vendor":"wp-slimstat"}],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[],"description":"The Slimstat Analytics WordPress plugin before 4.9.3 does not sanitise and escape the URI when logging requests, which could allow unauthenticated attackers to perform Stored Cross-Site Scripting attacks against logged in admin viewing the logs","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Slimstat Analytics \u003c 4.9.3 - Unauthenticated Stored XSS","id":"CVE-2022-4310","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in PcVue","id":"CVE-2022-4311"},"packages":[],"prev":{"headline":"Subscribe2 \u003c 10.38 - User Deletion via CSRF","id":"CVE-2022-4309"},"products":["Slimstat Analytics"],"published":"2023-01-09","related":[{"cvss_score":8.8,"headline":"WordPress Slimstat Analytics Plugin \u003c= 5.0.4 is vulnerable to SQL Injection","id":"CVE-2022-45373","kev_date_added":null,"published":"2023-11-06"},{"cvss_score":8.8,"headline":"Slimstat Analytics \u003c= 5.0.9 - Authenticated (Contributor+) Blind SQL Injection via Shortcode","id":"CVE-2023-4598","kev_date_added":null,"published":"2023-10-20"},{"cvss_score":8.8,"headline":"Slimstat Analytics \u003c 4.9.3.3 - Subscriber+ SQL Injection","id":"CVE-2023-0630","kev_date_added":null,"published":"2023-03-20"},{"cvss_score":7.2,"headline":"Slimstat Analytics \u003c= 5.2.6 - Unauthenticated Stored Cross-Site Scripting","id":"CVE-2024-9548","kev_date_added":null,"published":"2024-10-14"},{"cvss_score":7.1,"headline":"WordPress Slimstat Analytics Plugin \u003c= 5.0.4 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2022-45366","kev_date_added":null,"published":"2023-05-25"},{"cvss_score":6.4,"headline":"SlimStat Analytics \u003c= 5.1.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting","id":"CVE-2024-1073","kev_date_added":null,"published":"2024-02-02"},{"cvss_score":6.4,"headline":"Slimstat Analytics \u003c= 5.0.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode","id":"CVE-2023-4597","kev_date_added":null,"published":"2023-08-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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-09","vendors":["Unknown"]},"summary":"Unauthenticated attackers can inject malicious scripts via URI logging, leading to code execution or account takeover when admins view logs.","url":"https://insights.sbomify.com/CVE-2022-4310/"}