{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4512 exists.","fix":"No fix has been published for CVE-2022-4512 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-4512 is a medium-severity cross-site scripting vulnerability in Unknown Better Font Awesome, published on 13 Feb 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-4512 and fix it if it is affected.\n\nWhat it is: CVE-2022-4512 is a medium-severity cross-site scripting vulnerability in Unknown Better Font Awesome, published on 13 Feb 2023. An attacker needs administrator access to exploit it, 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-4512 exists.\n\nAffected product: Unknown Better Font Awesome. 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-4512/ (Markdown: https://insights.sbomify.com/CVE-2022-4512/index.md)","id":"CVE-2022-4512","markdown":"https://insights.sbomify.com/CVE-2022-4512/index.md","name":"CVE-2022-4512","record":{"aliases":["GHSA-hvh3-v3c3-3rmj"],"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":"Contributors can inject malicious scripts via shortcode attributes in the Better Font Awesome plugin, leading to stored XSS attacks.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"better_font_awesome","vendor":"better_font_awesome_project"}],"cvss":{"score":6.8,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"The Better Font Awesome WordPress plugin before 2.0.4 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Better Font Awesome \u003c 2.0.4 - Contributor+ Stored XSS","id":"CVE-2022-4512","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"European Environment Agency eionet.contreg cross site scripting","id":"CVE-2022-4513"},"packages":[],"prev":{"headline":"RainyGao DocSys path traversal","id":"CVE-2022-4511"},"products":["Better Font Awesome"],"published":"2023-02-13","related":[{"cvss_score":4.3,"headline":"WordPress Better Font Awesome plugin \u003c= 2.0.1 - Cross-Site Request Forgery (CSRF) vulnerability","id":"CVE-2022-37405","kev_date_added":null,"published":"2022-09-09"}],"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":"total"},"state":"PUBLISHED","updated":"2025-03-21","vendors":["Unknown"]},"summary":"Contributors can inject malicious scripts via shortcode attributes in the Better Font Awesome plugin, leading to stored XSS attacks.","url":"https://insights.sbomify.com/CVE-2022-4512/"}