WordPress Plugin Vulnerabilities
Debug Log Manager < 2.5.1 - Unauthenticated Log Injection via log_js_errors
Description
The plugin is vulnerable to Log Injection due to the `log_js_errors()` AJAX handler being registered for unauthenticated users via `wp_ajax_nopriv_log_js_errors` and gated only by a nonce that is publicly disclosed in every front-end page's HTML through `wp_localize_script()` when JavaScript error logging is enabled, providing no real authorization barrier. This makes it possible for unauthenticated attackers to inject arbitrary forged entries into the site's WordPress debug log by supplying attacker-controlled `message`, `script`, `lineNo`, `columnNo`, and `pageUrl` values — enabling spoofing of error records, obscuring malicious activity within fabricated log noise, and misleading administrators who rely on the log for triage. This is only exploitable when the plugin's JavaScript error logging feature is enabled, as the requisite nonce is only published into the page HTML under that condition.