CVE-2025-34178 Netgate pfSense CE Suricata package v7.0.8_2 Stored Cross-Site Scripting

Medium 5.1 Published Updated

Authenticated attackers can inject malicious scripts via the policy_name parameter in the Suricata package, potentially compromising admin sessions.

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-2025-34178?

CVE-2025-34178 is a medium-severity cross-site scripting vulnerability in Netgate pfSense CE, published on 9 Sep 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2025-34178?

It affects 1 product.

Products include Pfsense Pfsense.

How do I fix CVE-2025-34178?

No fix has been published for CVE-2025-34178 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-2025-34178 being exploited?

There is no known exploitation of CVE-2025-34178 in the wild and no public exploit code.

Sources

Also known as GHSA-3mc2-42q3-6cgp.

Is CVE-2025-34178 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free