{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-24977 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-24977 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24977 is a medium-severity missing authorization vulnerability in Unknown Use Any Font | Custom Font Uploader, published on 28 Feb 2022. 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-2021-24977 and fix it if it is affected.\n\nWhat it is: CVE-2021-24977 is a medium-severity missing authorization vulnerability in Unknown Use Any Font | Custom Font Uploader, published on 28 Feb 2022. 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-2021-24977 in the wild and no public exploit code.\n\nAffected product: Unknown Use Any Font | Custom Font Uploader. 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-2021-24977/ (Markdown: https://insights.sbomify.com/CVE-2021-24977/index.md)","id":"CVE-2021-24977","markdown":"https://insights.sbomify.com/CVE-2021-24977/index.md","name":"CVE-2021-24977","record":{"aliases":["GHSA-vj7q-773h-8qqf"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Unauthenticated attackers can inject arbitrary CSS and potentially XSS payloads into the site for all users due to missing authorization checks in the font assignment feature.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"use_any_font","vendor":"dineshkarki"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"The Use Any Font | Custom Font Uploader WordPress plugin before 6.2.1 does not have any authorisation checks when assigning a font, allowing unauthenticated users to sent arbitrary CSS which will then be processed by the frontend for all users. Due to the lack of sanitisation and escaping in the backend, it could also lead to Stored XSS issues","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":"Use Any Font \u003c 6.2.1 - Unauthenticated Arbitrary CSS Appending","id":"CVE-2021-24977","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"OSMapper \u003c= 2.1.5 - Unauthenticated Arbitrary Post Deletion","id":"CVE-2021-24978"},"packages":[],"prev":{"headline":"Smart SEO Tool \u003c 3.0.6 - Reflected Cross-Site Scripting","id":"CVE-2021-24976"},"products":["Use Any Font | Custom Font Uploader"],"published":"2022-02-28","related":[{"cvss_score":5.4,"headline":"WordPress Use Any Font plugin \u003c= 6.1.7 - Cross-Site Request Forgery (CSRF) vulnerability","id":"CVE-2022-27851","kev_date_added":null,"published":"2022-04-15"},{"cvss_score":4.3,"headline":"WordPress Use Any Font plugin \u003c= 6.3.08 - Cross Site Request Forgery (CSRF) vulnerability","id":"CVE-2024-47305","kev_date_added":null,"published":"2024-09-25"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Unknown"]},"summary":"Unauthenticated attackers can inject arbitrary CSS and potentially XSS payloads into the site for all users due to missing authorization checks in the font assignment feature.","url":"https://insights.sbomify.com/CVE-2021-24977/"}