Vulnerabilities / JCH Optimize / WPSEC-2026-0773

JCH Optimize <= 6.0.2 - Unauthenticated Stored Cross-Site Scripting via Host Header

Medium 5.4 CWE-79Fixed in 6.1.0
ID
WPSEC-2026-0773
Plugin
JCH Optimize (jch-optimize)
Affected
all versions before 6.1.0
Remediation
Update to 6.1.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-11
Attack surface
JCH Optimize on WPSec AttackSurface
Fix released
Published

Description

The JCH Optimize plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Host header of requests stored by Page Cache in all versions up to, and including, 6.0.2, due to insufficient validation of the host name and insufficient output escaping of cached page URLs on the Page Cache list in the admin area. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator, or a user allowed to clear the page cache, views the Page Cache list. Exploitation requires Page Cache to be enabled and a web server that passes Host header values containing quote characters through to WordPress.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0