# CVE-2025-34178: Netgate pfSense Suricata stored XSS in suricata_app_parsers.php

Source: https://junglewise.ai/threats/cve-2025-34178-netgate-pfsense-suricata-stored-xss-in-suricata-app-parsers-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-09-09. Updated: 2026-07-14  
License: CC BY 4.0 with a link back

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

Netgate pfSense, a popular open-source firewall and routing platform, contains a security flaw in its Suricata intrusion detection package. An authenticated user with specific service permissions can inject malicious scripts into the management interface. If another administrator views the affected configuration page, the script could execute in their browser, potentially allowing the attacker to perform unauthorized actions or steal session information.

Technologies: [Netgate Pfsense Ce](https://junglewise.ai/threats/technologies/pfsense-ce), [Netgate Pfsense Plus](https://junglewise.ai/threats/technologies/pfsense-plus), [Netgate Suricata package for pfSense](https://junglewise.ai/threats/technologies/suricata-package-for-pfsense), [Pfsense](https://junglewise.ai/threats/technologies/pfsense). Vendors: [Netgate](https://junglewise.ai/threats/vendors/netgate), [Pfsense](https://junglewise.ai/threats/vendors/pfsense).

## Quick answers

**Is CVE-2025-34178 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-34178 being exploited in the wild.

**How severe is CVE-2025-34178?** Medium severity, with a CVSS score of 5.4, published 9 September 2025.

**Which products and versions are affected?** Netgate Pfsense Ce up to (excluding) 2.8.0; Netgate Pfsense Plus up to (excluding) 25.07; Netgate Suricata package for pfSense <= 7.0.8_2.

**Is there a fix for CVE-2025-34178?** A patch was published on 2025-09-09: Fix included in Suricata package update and pfSense CE 2.8.0/Plus 25.07 releases. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-34178 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2025-34178?** 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 pfSense Suricata package within the '/suricata/suricata_app_parsers.php' file. The root cause is the failure to sanitize or encode the 'policy_name' parameter before it is rendered in the web interface. An attacker must be authenticated with 'WebCfg - Services: suricata package' permissions to exploit this flaw. By submitting a specially crafted string containing HTML or JavaScript, the payload is stored on the server and executed in the context of any user who subsequently views the affected page. This can lead to session hijacking or unauthorized configuration changes. The issue is addressed in Suricata package versions following 7.0.8_2 and pfSense CE 2.8.0 / Plus 25.07.

## Affected products

- Netgate pfSense CE up to (excluding) 2.8.0
- Netgate pfSense Plus up to (excluding) 25.07
- Netgate Suricata package for pfSense <= 7.0.8_2

## Timeline

- 2025-09-09: disclosed
- 2025-09-09: patched: Fix included in Suricata package update and pfSense CE 2.8.0/Plus 25.07 releases.
- 2025-09-09: advisory

## References

- [https://github.com/pfsense/FreeBSD-ports/commit/97852ccfd201b24ee542be30af81272485fde0b4](https://github.com/pfsense/FreeBSD-ports/commit/97852ccfd201b24ee542be30af81272485fde0b4)
- [https://redmine.pfsense.org/issues/16414](https://redmine.pfsense.org/issues/16414)
- [https://www.vulncheck.com/advisories/netgate-pf-sense-ce-suricata-package-stored-xss](https://www.vulncheck.com/advisories/netgate-pf-sense-ce-suricata-package-stored-xss)

## Related threats

- [Netgate pfSense CE reflected XSS in firewall_rules.php](https://junglewise.ai/threats/cve-2026-111233-netgate-pfsense-ce-2-7-1-through-2-9-0-contains-a-reflected)
- [Netgate pfSense CE stored cross-site scripting in firewall rules](https://junglewise.ai/threats/cve-2026-111232-netgate-pfsense-ce-2-3-0-through-2-9-0-contains-a-stored-cross)
- [Netgate pfSense CE authorization bypass in config restore](https://junglewise.ai/threats/cve-2026-111231-netgate-pfsense-ce-through-2-9-0-contains-an-authorization)
- [Netgate pfSense CE local file read via Dynamic DNS](https://junglewise.ai/threats/cve-2026-111230-netgate-pfsense-ce-through-2-9-0-contains-a-local-file-read)
- [pfSense CE command injection in captive portal HA sync](https://junglewise.ai/threats/cve-2026-111229-pfsense-ce-2-7-0-through-2-9-0-contains-a-command-injection)
