CVE-2025-34182 Deciso OPNsense < 25.7.4 /interfaces_ppps_edit.php ptpid Stored XSS

Medium 5.1 Published Updated

Authenticated attackers can inject malicious scripts via the ptpid parameter in OPNsense, leading to stored XSS and potential session hijacking.

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-34182?

CVE-2025-34182 is a medium-severity cross-site scripting vulnerability in Deciso OPNsense, published on 1 Oct 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 Deciso OPNsense before 25.7.4, when creating an "Interfaces: Devices: Point-to-Point" entry, the value of the parameter ptpid is not sanitized of HTML-related characters/strings. This value is directly displayed when visiting the page/interfaces_assign.php, which can result in stored cross-site scripting. The attacker must be authenticated with at-least "Interfaces: PPPs: Edit" permission. This vulnerability has been addressed by the vendor in the product release notes as "ui: legacy_html_escape_form_data() was not escaping keys only data elements."

Weakness: CWE-79

Which versions are affected by CVE-2025-34182?

How do I fix CVE-2025-34182?

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

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

Sources

Also known as GHSA-v8ch-859h-ggwh.

Is CVE-2025-34182 in your software?

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

Check your SBOMs for free