All-In-One Security (AIOS) <= 5.4.7 - Unauthenticated Stored Cross-Site Scripting via REST API Request Path
Summary
| CVE | CVE-2026-8438 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-06 02:16:21 UTC |
| Updated | 2026-06-08 14:57:14 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS: 0.001650000 probability, percentile 0.375010000 (date 2026-06-14)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Davidanderson | All-In-One Security AIOS Security And Firewall | affected 5.4.7 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/all-in-one-wp-security-and-firewall/trunk/classes/wp-... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/all-in-one-wp-security-and-firewall/tags/5.4.6/admin/... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/all-in-one-wp-security-and-firewall/tags/5.4.6/classe... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/all-in-one-wp-security-and-firewall/trunk/classes/wp-... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/all-in-one-wp-security-and-firewall/trunk/classes/wp-... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/all-in-one-wp-security-and-firewall/tags/5.4.6/classe... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/all-in-one-wp-security-and-firewall/trunk/admin/wp-se... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/all-in-one-wp-security-and-firewall/tags/5.4.6/classe... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/d2b7ed73-a654-40ef-8d80-61713... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/changeset/3558989 | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Dmitrii Ignatyev (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-12T19:06:11.000Z | Vendor Notified |
| CNA | 2026-06-05T11:51:22.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.