CVE-2026-8438

All-In-One Security (AIOS) <= 5.4.7 - Unauthenticated Stored Cross-Site Scripting via REST API Request Path

Published Jun 6, 2026 CVSS 3.1 · 7.2 High EPSS 8.3% KEV · Not listed
Description
The All-In-One Security (AIOS) – Security and Firewall plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to and including 5.4.7. This is due to insufficient input sanitization in the get_rest_route() function and missing output escaping in the column_default() method of the debug log list table. When the 'Disable REST API for non-logged in users' feature (aiowps_disallow_unauthorized_rest_requests) is enabled alongside debug logging (aiowps_enable_debug), an unauthenticated attacker can embed arbitrary HTML or JavaScript in the REST request path. The path is retrieved via urldecode($_SERVER['REQUEST_URI']), which decodes URL-encoded payloads into literal HTML characters. This decoded, unsanitized value is concatenated directly into a debug log message and stored in the database. When an administrator navigates to the AIOS Dashboard Debug Logs page, the column_default() method returns the raw database value without escaping, and the parent list table echoes it directly, causing JavaScript execution in the administrator's browser session. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the debug log page, enabling nonce theft, privileged AJAX/REST actions, and potential full site compromise.

Analysis

AI-generated

Technical impact

The All‑In‑One Security plugin for WordPress contains a stored Cross‑Site Scripting flaw in its REST API request handling. When debug logging is enabled and the REST API is blocked for unauthenticated users, an attacker can transmit malicious HTML or JavaScript encoded in the request path. The path is decoded and inserted without sanitization into a debug log entry, which is then displayed in the Dashboard Debug Logs page without escaping. This permits arbitrary script execution in the administrator’s browser, enabling nonce theft, privileged AJAX or REST actions and potentially full site compromise. The weakness is a classic input validation and output escaping failure, corresponding to CWE‑79.

Affected Systems

All‑In‑One Security (AIOS) – Security and Firewall plugin version 5.4.7 and earlier is affected. Users running this plugin on any WordPress installation should verify the plugin version and update if necessary.

Risk and Exploitability

The impact score is 7.2 on the CVSS scale, indicating a high‑severity vulnerability. The EPSS score of 8% indicates a significant probability of exploitation, increasing the urgency to remediate. The issue is not listed in CISA’s KEV catalog. Based on the description, it is inferred that the attack path requires an attacker to craft a specially encoded REST request that bypasses the REST API restriction and embeds malicious content into a debug log. An unauthenticated attacker can then lure an administrator to the debug log page to trigger the XSS payload.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the All‑In‑One Security plugin to the latest released version that includes the XSS fix.
  • Disable the "Enable Debug Logging" feature (aiowps_enable_debug) and the "Disable REST API for non‑logged in users" setting (aiowps_disallow_unauthorized_rest_requests) to stop the data path that stores the malicious payload.
  • Apply proper input sanitization for REST API routes and ensure all output rendered in admin pages escapes HTML characters to mitigate future CWE‑79 vulnerabilities.

Generated by OpenCVE AI on November 2, 2026 at 15:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Davidanderson
Davidanderson all-in-one Security (aios) – Security And Firewall
Wordpress
Wordpress wordpress
Vendors & Products Davidanderson
Davidanderson all-in-one Security (aios) – Security And Firewall
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The All-In-One Security (AIOS) – Security and Firewall plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to and including 5.4.7. This is due to insufficient input sanitization in the get_rest_route() function and missing output escaping in the column_default() method of the debug log list table. When the 'Disable REST API for non-logged in users' feature (aiowps_disallow_unauthorized_rest_requests) is enabled alongside debug logging (aiowps_enable_debug), an unauthenticated attacker can embed arbitrary HTML or JavaScript in the REST request path. The path is retrieved via urldecode($_SERVER['REQUEST_URI']), which decodes URL-encoded payloads into literal HTML characters. This decoded, unsanitized value is concatenated directly into a debug log message and stored in the database. When an administrator navigates to the AIOS Dashboard Debug Logs page, the column_default() method returns the raw database value without escaping, and the parent list table echoes it directly, causing JavaScript execution in the administrator's browser session. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the debug log page, enabling nonce theft, privileged AJAX/REST actions, and potential full site compromise.
Title All-In-One Security (AIOS) <= 5.4.7 - Unauthenticated Stored Cross-Site Scripting via REST API Request Path
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jun 6, 2026, 11:44 AM
Reserved
May 12, 2026, 6:50 PM
Status
Deferred
Published
Jun 6, 2026, 2:16 AM
Modified
Jul 23, 2026, 7:10 AM