Sucuri Security – Auditing, Malware Scanner and Security Hardening <= 2.8.1 - Unauthenticated Stored Cross-Site Scripting via Firewall Audit Logs

Medium 5.4 CWE-79Fixed in 2.8.2
ID
WPSEC-2026-4648
Plugin
Sucuri Security – Auditing, Malware Scanner and Security Hardening (sucuri-scanner)
Affected
all versions before 2.8.2
Remediation
Update to 2.8.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-04
Attack surface
Sucuri Security – Auditing, Malware Scanner and Security Hardening on WPSec AttackSurface
Fix released
Published

Description

The Sucuri Security – Auditing, Malware Scanner and Security Hardening plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Firewall Audit Logs page in all versions up to, and including, 2.8.1. The cause is the plugin's template engine, which replaces pseudo-variables one parameter at a time and scans values that were already inserted again. When a firewall log entry is rendered, a request header value such as the Referer can carry a '%%%SUCURI.AccessLog.HttpUserAgent%%%' marker. That marker is then replaced with the raw, unescaped User-Agent value of the same request. This makes it possible for unauthenticated attackers to inject arbitrary web scripts by sending crafted requests through the Sucuri Firewall. The scripts execute when an administrator views the plugin's Firewall Audit Logs.

References

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

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

License: CC BY 4.0