{
 "id": "WPSEC-2026-1373",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1373/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1373/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1373/index.md",
 "title": "Speed Optimizer <= 7.8.4 - Authenticated (Administrator+) Stored Cross-Site Scripting via DNS Prefetch and Font Preload URLs",
 "description": "The Speed Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the DNS prefetch URLs and font preload URLs settings (including values loaded through the settings import) in all versions up to, and including, 7.8.4, due to insufficient input sanitization and output escaping when the stored URLs are printed into <link> tags in the page head. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts that execute on every front-end page. This only affects multi-site installations and installations where unfiltered_html has been disabled.",
 "plugin": {
  "slug": "sg-cachepress",
  "name": "Speed Optimizer",
  "full_name": "Speed Optimizer – The All-In-One Performance-Boosting Plugin",
  "wordpress_org": "https://wordpress.org/plugins/sg-cachepress/",
  "advisories_url": "https://wpsec.com/vuln/plugin/sg-cachepress/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/sg-cachepress"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.4,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "5.6.0",
    "from_inclusive": true,
    "to": "7.8.5",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 5.6.0 before 7.8.5"
  ]
 },
 "introduced_in": "5.6.0",
 "fixed_in": "7.8.5",
 "remediation": "Update to 7.8.5 or later.",
 "fix_released": "2026-10-20T07:22:18+00:00",
 "published": "2026-10-21T13:44:54+00:00",
 "updated": "2026-10-21T13:33:38.193091+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1373/",
  "https://plugins.svn.wordpress.org/sg-cachepress/tags/7.8.5/",
  "https://wordpress.org/plugins/sg-cachepress/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/sg-cachepress",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-21"
 }
}