---
id: CVE-2025-34178
title: "In pfSense CE\_/suricata/suricata_app_parsers.php, the value of the policy_name parameter is not sanitized of HTML-related strings/characters before being directly displayed"
summary: "In pfSense CE\_/suricata/suricata_app_parsers.php, the value of the policy_name parameter is not sanitized of HTML-related strings/characters before being directly displayed. This can result in stored cross-site scripting. The attacker mu…"
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: pfsense
product: pfsense
affected:
  - pfsense < 2.8.0
patched:
  - pfsense 2.8.0
published: '2025-09-09'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-34178'
references:
  - url: >-
      https://github.com/pfsense/FreeBSD-ports/commit/97852ccfd201b24ee542be30af81272485fde0b4
    label: disclosure@vulncheck.com
  - url: 'https://redmine.pfsense.org/issues/16414'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/netgate-pf-sense-ce-suricata-package-stored-xss
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.03668
epssPercentile: 0.89164
ingestedAt: '2026-07-15T13:44:03.162Z'
---

## Overview

In pfSense CE /suricata/suricata_app_parsers.php, the value of the policy_name parameter is not sanitized of HTML-related strings/characters before being directly displayed. This can result in stored cross-site scripting. The attacker must be authenticated with at least "WebCfg - Services: suricata package" permissions.

## Affected

- `pfsense < 2.8.0`

## Remediation

Upgrade past the affected range:

- `pfsense 2.8.0`
