CVE-2025-14351
The Custom Fonts – Host Your Fonts Locally plugin for WordPress is …
The Custom Fonts – Host Your Fonts Locally plugin for WordPress is vulnerable to unauthorized loss of data due to a missing capability check on the 'BCF_Google_Fonts_Compatibility' class constructor function in all versions up to, and including, 2.1.16. This makes it possible for unauthenticated attackers to delete font directory and rewrite theme.json file.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/custom-fonts/trunk/includes/class-bcf-google-fonts-comp
- plugins.trac.wordpress.org/changeset/3442237/custom-fonts
- www.wordfence.com/threat-intel/vulnerabilities/id/60e3a506-8811-4e7d-a16c-02f91c757705?sou
- nvd.nist.gov/vuln/detail/CVE-2025-14351
- cve.org/CVERecord?id=CVE-2025-14351
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.