Code Injection Vulnerability in Fastcache Plugin for WordPress
CVE-2026-104021

7.2HIGH

Key Information:

Vendor

WordPress

Vendor
CVE Published:
10 October 2026

What is CVE-2026-104021?

The Fastcache by Host.it plugin for WordPress is susceptible to code injection due to improper sanitization of the cache_cookie_exclude parameter. This vulnerability allows authenticated users with administrator access to inject arbitrary directives into the site's .htaccess file. The issue arises from the plugin's reliance on the trim() function, which inadequately sanitizes inputs, failing to remove complete newline characters. Exploitation of this vulnerability can lead to serious server-level configuration changes, including executing unauthorized PHP code, posing significant security risks to the website.

Affected Version(s)

Fastcache by Host.it 0 <= 1.7.4

References

CVSS V3.1

Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Wordfence PRISM
.