{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3825",
 "modified": "2026-11-25T01:43:42Z",
 "published": "2026-11-25T01:43:42Z",
 "summary": "CodeColorer <= 0.12.0 - Unauthenticated Stored Cross-Site Scripting via Comments",
 "details": "The CodeColorer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via comments in all versions up to, and including, 0.12.0. This is due to the plugin's handling of code blocks in comments: the blocks it shields from WordPress's comment filtering when a comment is saved are not always the blocks it parses when the comment is displayed, so unfiltered HTML from a shielded block can end up outside any code block, and the plugin applied no filtering on display. This makes it possible for unauthenticated attackers, where comments are open, to inject arbitrary web scripts into comments that execute whenever a user views the comment.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "codecolorer"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "0.12.1"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 0.12.1"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3825/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/codecolorer/tags/0.12.1/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/codecolorer/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3825/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "High",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
