All vulnerabilities

Servers and applications

GHSA-6vv6-fpw9-8r2g

Certificate and CA descriptions render unescaped in the wireless EAP selectors on interfaces.php

Severity
Medium 4.8
Published
12 Aug 2026
Last changed
12 Aug 2026
Added to UpHeron
3 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs an administrator account · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Sources
Project advisories (GitHub)

Description

The fix for CVE-2026-58394 (GHSA-8pgr-x852-qx4j) escaped the certificate array on system_advanced_admin.php. The same descr field is rendered raw in the wireless EAP selectors on interfaces.php, which were not covered.

How the fixed page does it, src/www/system_advanced_admin.php:

The array is escaped in place at :423, so the raw echo at :573 is safe. That is the remediation.

src/www/interfaces.php escapes only $pconfig:

and then, roughly 1800 lines further down, iterates the CA and certificate lists inline, freshly read from config and never passed through the escaper:

Same field, same validator, same raw echo, no escaping. As the anchor advisory notes, the descr validator (DescriptionField, mask /^(.){1,255}$/) permits every HTML metacharacter, so a description containing a script tag is stored as-is and renders into this page.

From opnsense/core's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OPNsenseServers and applications · github:opnsense/core
  • Every version up to 26.7.1

About OPNsense

open-source firewall

From Wikidata, CC0 1.0.
GitHub stars
4,802GitHub, 15 Nov 2026
Forks
1,029GitHub, 15 Nov 2026
License
2-clause BSD LicenseWikidata
Written in
PHP, CWikidata
First released
2 Jan 2015Wikidata
First published on GitHub
13 Dec 2014GitHub

Release lines

ReleaseLatestSecurity fixes
26.7 'Xenial Xenops'26.7.9Yes
26.1 'Witty Woodpecker'26.1.11Ended 15 Jul 2026
25.7 'Visionary Viper'25.7.11Ended 28 Jan 2026
25.1 'Ultimate Unicorn'25.1.12Ended 23 Jul 2025
24.7 'Thriving Tiger'24.7.12Ended 28 Jan 2025
24.1 'Savvy Shark'24.1.10Ended 25 Jul 2024

From endoflife.date.

References