WordPress security changelog
MEDIUM CVE-2021-25021 Modified

OMGF | Host Google Fonts Locally: Filesystem traversal

OMGF | Host Google Fonts Locally is affected by filesystem traversal. Exposure depends on how the affected operation is made reachable by the site. A crafted path can escape the intended directory and reach files or directories elsewhere on the server.

CVE / CNA score 4.9 CVSS · contact@wpscan.com
NVD score 4.9 CVSS 3.1 · nvd@nist.gov
Component
OMGF | Host Google Fonts Locally
Plugin slug
optimize-my-google-fonts
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Jan 03, 2022
Weakness
CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

This CVE was published Jan 03, 2022 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update OMGF | Host Google Fonts Locally to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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

NVD vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Primary and upstream sources