# CVE-2021-25021: OMGF < 4.5.12 - Admin+ Arbitrary Folder Deletion via Path Traversal

- Severity: Medium 4.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-03T12:49:14.000Z
- Modified: 2026-06-17T03:41:19.540Z
- Weaknesses: CWE-22
- Assigned by: WPScan

## Description

The OMGF | Host Google Fonts Locally WordPress plugin before 4.5.12 does not validate the cache directory setting, allowing high privilege users to use a path traversal vector and delete arbitrary folders when uninstalling the plugin

(As written by CVE List.)

## Affected

- Unknown OMGF | Host Google Fonts Locally: from 4.5.12 before 4.5.12
- ffw optimize_my_google_fonts: before 4.5.12

## Every score

- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/92db763c-ca6b-43cf-87ff-c1678cf4ade5> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-25021](https://www.cve.org/CVERecord?id=CVE-2021-25021), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-25021](https://nvd.nist.gov/vuln/detail/CVE-2021-25021), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25021 · Whole record: https://cve.day/CVE-2021-25021.json · Rebuilt by cve.day 2026-11-25T22:58:06.370Z
