{
 "id": "WPSEC-2026-1040",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1040/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1040/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1040/index.md",
 "title": "Top 10 <= 4.5.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Popular Posts Block 'instance_id' Attribute",
 "description": "The WebberZone Top 10 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'instance_id' attribute of the Popular Posts block in all versions up to, and including, 4.5.2, due to insufficient input sanitization and output escaping when the value is used to build the class attribute of the popular posts wrapper div. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.",
 "plugin": {
  "slug": "top-10",
  "name": "Top 10",
  "full_name": "WebberZone Top 10 — Popular Posts",
  "wordpress_org": "https://wordpress.org/plugins/top-10/",
  "advisories_url": "https://wpsec.com/vuln/plugin/top-10/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/top-10"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.5.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.5.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.5.3",
 "remediation": "Update to 4.5.3 or later.",
 "fix_released": "2026-10-14T19:22:00+00:00",
 "published": "2026-10-15T19:48:41+00:00",
 "updated": "2026-10-15T08:15:36.382683+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1040/",
  "https://plugins.svn.wordpress.org/top-10/tags/4.5.3/",
  "https://wordpress.org/plugins/top-10/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/top-10",
 "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-15"
 }
}