{
 "id": "WPSEC-2026-0773",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0773/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0773/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0773/index.md",
 "title": "JCH Optimize <= 6.0.2 - Unauthenticated Stored Cross-Site Scripting via Host Header",
 "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.",
 "plugin": {
  "slug": "jch-optimize",
  "name": "JCH Optimize",
  "full_name": "JCH Optimize",
  "wordpress_org": "https://wordpress.org/plugins/jch-optimize/",
  "advisories_url": "https://wpsec.com/vuln/plugin/jch-optimize/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/jch-optimize"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "6.1.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 6.1.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "6.1.0",
 "remediation": "Update to 6.1.0 or later.",
 "fix_released": "2026-10-10T16:32:33+00:00",
 "published": "2026-10-11T16:42:00+00:00",
 "updated": "2026-10-11T11:41:36.706682+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0773/",
  "https://plugins.svn.wordpress.org/jch-optimize/tags/6.1.0/",
  "https://wordpress.org/plugins/jch-optimize/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/jch-optimize",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-11"
 }
}