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

7.2
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-8438
CVSS 7.2 (High)
Publicly Published June 5, 2026
Last Updated June 18, 2026
Researcher Dmitrii Ignatyev - CleanTalk Inc

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for All-In-One Security (AIOS) – Security and Firewall

Software Type Plugin
Software Slug all-in-one-wp-security-and-firewall (view on wordpress.org)
Patched? Yes
Remediation Update to version 5.4.8, or a newer patched version
Affected Version
  • <= 5.4.7
Patched Version
  • 5.4.8

Recent vulnerabilities in All-In-One Security (AIOS) – Security and Firewall

# Title CVE ID CVSS Researchers Date
1 All In One WP Security <= 5.2.6 - Cross-Site Request Forgery to IP Blocking CVE-2024-30468 4.3 Ananda Dhakal February 8, 2024
2 All-In-One Security (AIOS) – Security and Firewall <= 5.2.5 - Reflected Cross-Site Scripting CVE-2024-1037 6.1 stealthcopter February 6, 2024
3 All In One WP Security <= 5.2.4 - Protection Bypass of Renamed Login Page via URL Encoding CVE-2023-52147 5.3 Naveen Muthusamy October 25, 2023
4 All In One WP Security 5.1.9 - Plaintext Storage of Credentials 5.9 July 11, 2023
5 All-In-One Security (AIOS) <= 5.1.4 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2023-0157 4.4 Bartłomiej Marek March 20, 2023
6 All-In-One Security (AIOS) <= 5.1.4 - Authenticated(Admin+) Directory Traversal CVE-2023-0156 4.9 Bartłomiej Marek February 14, 2023
7 All-In-One Security <= 5.1.2 - Information Disclosure CVE-2022-4346 5.3 Daniel Ruf December 9, 2022
8 All In One WP Security & Firewall <= 5.1.0 - Cross-Site Request Forgery CVE-2022-44737 8.8 Rafie Muhammad November 22, 2022
9 All-In-One Security (AIOS) – Security and Firewall <= 5.0.8 - IP Spoofing to Protection Mechanism Bypass CVE-2022-4097 6.5 Daniel Ruf November 21, 2022
10 All In One WP Security & Firewall <= 5.1.0 - Cross-Site Request Forgery 8.8 November 17, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation