Debug Log Manager <= 2.5.2 - Unauthenticated Stored Cross-Site Scripting via JavaScript Error Log Details

High 7.2 CWE-79Fixed in 2.5.3
ID
WPSEC-2026-1291
Plugin
Debug Log Manager – Conveniently Monitor and Inspect Errors (debug-log-manager)
Affected
all versions before 2.5.3
Remediation
Update to 2.5.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-21
Attack surface
Debug Log Manager on WPSec AttackSurface
Fix released
Published

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0