CVE-2026-56127 pfSense Plus < 26.07 / CE < 2.9.0 Stored XSS via firewall_rules_edit.php
Authenticated users can inject JavaScript into firewall rule descriptions, leading to XSS when viewed by other users in the firewall logs.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-56127?
CVE-2026-56127 is a medium-severity cross-site scripting vulnerability in Netgate pfSense CE, published on 3 Sep 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
pfSense Plus before 26.07 and CE before 2.9.0 allow authenticated users with the Firewall: Rules: Edit privilege to inject arbitrary JavaScript via the descr parameter in /firewall_rules_edit.php. The firewall rule description is stored in the pfSense XML configuration with only backslash-escaping applied and no HTML sanitization, then rendered without encoding in the firewall log table in /status_logs_filter.php. The payload executes in the browser of any user with the Status: Logs: Firewall privilege who views the affected log entries.
Weakness: CWE-79
Which versions are affected by CVE-2026-56127?
How do I fix CVE-2026-56127?
No fix has been published for CVE-2026-56127 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-56127 being exploited?
There is no known exploitation of CVE-2026-56127 in the wild and no public exploit code.
Sources
Also known as GHSA-3c8g-23wp-3mx8.