CVE-2021-24977: Use Any Font - Stored XSS
- Cve: CVE-2021-24977
- Name: Use Any Font - Stored XSS
- 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
- Impact: Unauthenticated users can send malicious CSS leading to stored cross-site scripting (XSS) attacks affecting all users.
- Remediation: Update to version 6.2.1 or later to fix authorization checks and sanitization issues.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01492
- Epss percentile: 0.74801
- Assignee: [email protected]
- Published at: 2022-02-28T09:15:08Z
- Age in days: 1730
- Modified at: 2026-06-17T03:41:15Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24977
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-862 | Missing Authorization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/739831e3-cdfb-4a22-9abf-6c594d7e3d75 | nvd | 2022-02-28 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/739831e3-cdfb-4a22-9abf-6c594d7e3d75 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| dineshkarki:use_any_font | < 6.2.1 | no | nvd | /v1/products/dineshkarki/use_any_font |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-02-28
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts