CVE-2025-34177: Netgate pfSense Suricata stored XSS in suricata_flow_stream.php

CVE-2025-34177 · Severity: medium · CVSS 5.4 · Published 2025-09-09

A security vulnerability exists in the Suricata intrusion detection package for pfSense firewalls. An authenticated user with specific permissions can inject malicious scripts into the management interface via the 'policy_name' parameter. If another administrator views the affected configuration page, the script could execute in their browser, potentially leading to unauthorized actions or data theft within the management console.

Technologies: Netgate Pfsense Ce, Netgate Pfsense Plus, Netgate Suricata package for pfSense, Pfsense. Vendors: Netgate, Pfsense.

Quick answers

Is CVE-2025-34177 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-34177 being exploited in the wild.
How severe is CVE-2025-34177?
Medium severity, with a CVSS score of 5.4, published 9 September 2025.
Which products and versions are affected?
Netgate Pfsense Ce < 2.8.0; Netgate Pfsense Plus < 25.07.1; Netgate Suricata package for pfSense <= 7.0.8_2.
Is there a fix for CVE-2025-34177?
A patch was published on 2025-09-09: Fix committed to FreeBSD-ports repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-34177 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2025-34177?
Check whether you run Netgate Pfsense Ce, Netgate Pfsense Plus, Netgate Suricata package for pfSense or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in the Suricata package for pfSense (CE and Plus) within the 'suricata_flow_stream.php' component. The root cause is the failure to sanitize or encode the 'policy_name' parameter before it is rendered in the web interface. An attacker authenticated with 'WebCfg - Services: suricata package' permissions can inject arbitrary HTML or JavaScript. This script is then stored on the server and executed in the context of any user who subsequently views the affected page. The vulnerability was addressed in Suricata package version 7.0.8_3 (and later) and is included in pfSense CE 2.8.0 and pfSense Plus 25.07.1.

Affected products

  • Netgate pfSense CE < 2.8.0
  • Netgate pfSense Plus < 25.07.1
  • Netgate Suricata package for pfSense <= 7.0.8_2

Timeline

  • 2025-09-09: disclosed
  • 2025-09-09: patched: Fix committed to FreeBSD-ports repository
  • 2025-09-09: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.