{
 "id": "WPSEC-2026-1291",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1291/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1291/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1291/index.md",
 "title": "Debug Log Manager <= 2.5.2 - Unauthenticated Stored Cross-Site Scripting via JavaScript Error Log Details",
 "description": "The Debug Log Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via JavaScript error log details submitted to the 'log_js_errors' handler in all versions up to, and including, 2.5.2. This is due to insufficient input sanitization of encoded markup (JSON unicode escapes and HTML entities), which survives sanitize_text_field() and is later decoded, and to missing output escaping of log entry details and JSON-formatted log dumps in the log viewer and its auto-refresh. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the debug log page, provided JavaScript error logging is enabled.",
 "plugin": {
  "slug": "debug-log-manager",
  "name": "Debug Log Manager",
  "full_name": "Debug Log Manager – Conveniently Monitor and Inspect Errors",
  "wordpress_org": "https://wordpress.org/plugins/debug-log-manager/",
  "advisories_url": "https://wpsec.com/vuln/plugin/debug-log-manager/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/debug-log-manager"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.5.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.5.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.5.3",
 "remediation": "Update to 2.5.3 or later.",
 "fix_released": "2026-10-19T06:44:39+00:00",
 "published": "2026-10-21T10:43:36+00:00",
 "updated": "2026-10-21T10:34:36.723479+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1291/",
  "https://plugins.svn.wordpress.org/debug-log-manager/tags/2.5.3/",
  "https://wordpress.org/plugins/debug-log-manager/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/debug-log-manager",
 "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-21"
 }
}