{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3506 exists.","fix":"No fix has been published for CVE-2022-3506 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-3506 is a medium-severity cross-site scripting vulnerability in barrykooij/related-posts-for-wp, published on 14 Oct 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-3506 and fix it if it is affected.\n\nWhat it is: CVE-2022-3506 is a medium-severity cross-site scripting vulnerability in barrykooij/related-posts-for-wp, published on 14 Oct 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-3506 exists.\n\nAffected product: barrykooij/related-posts-for-wp. 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-3506/ (Markdown: https://insights.sbomify.com/CVE-2022-3506/index.md)","id":"CVE-2022-3506","markdown":"https://insights.sbomify.com/CVE-2022-3506/index.md","name":"CVE-2022-3506","record":{"aliases":["GHSA-j5xh-7x7x-vvpj"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"high_privilege","summary":"Stored XSS in the Related Posts for WP plugin allows attackers to inject malicious scripts into pages viewed by other users.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"related_posts","vendor":"never5"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site Scripting (XSS) - Stored in GitHub repository barrykooij/related-posts-for-wp prior to 2.1.3.","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/2022/CVE-2022-3506.yaml","stars":null,"title":"WordPress Related Posts \u003c2.1.3 - Stored Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":false,"headline":"Cross-site Scripting (XSS) - Stored in barrykooij/related-posts-for-wp","id":"CVE-2022-3506","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Parsing issue in protobuf textformat","id":"CVE-2022-3509"},"packages":[],"prev":{"headline":"SourceCodester Sanitization Management System cross site scripting","id":"CVE-2022-3505"},"products":["barrykooij/related-posts-for-wp"],"published":"2022-10-14","related":[{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2015-9361","kev_date_added":null,"published":"2019-08-28"},{"cvss_score":5.4,"headline":"Related Posts for WordPress \u003c= 2.2.1 - Cross-Site Request Forgery","id":"CVE-2024-0592","kev_date_added":null,"published":"2024-03-13"},{"cvss_score":5.4,"headline":"Related Posts for WordPress \u003c 2.0.4 - Authenticated Reflected Cross-Site Scripting (XSS)","id":"CVE-2021-24180","kev_date_added":null,"published":"2021-04-05"},{"cvss_score":4.8,"headline":"Related Posts for WordPress \u003c= 2.0.4 - Authenticated Stored XSS \u0026 XFS","id":"CVE-2021-24482","kev_date_added":null,"published":"2021-07-19"}],"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-14","vendors":["barrykooij"]},"summary":"Stored XSS in the Related Posts for WP plugin allows attackers to inject malicious scripts into pages viewed by other users.","url":"https://insights.sbomify.com/CVE-2022-3506/"}