CVE-2026-49132: OPNsense < 26.1.9 Stored XSS via Certificate Description Field
OPNsense before 26.1.9 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject arbitrary HTML or JavaScript by embedding payloads in the certificate description field via the trust certificate API. The unsanitized description value is persisted and later rendered in the Dashboard Certificates widget through Certificates.js, which interpolates the raw value into HTML attribute and text content sinks without encoding, causing injected scripts to execute in the browser of any authenticated user who views the Dashboard, enabling session hijacking or credential theft.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
opnsenseto a version that resolves this vulnerability.Fixed in 26.1.9
Event History
Frequently Asked Questions
What is the severity of CVE-2026-49132?
The severity of CVE-2026-49132 is rated as medium with a score of 5.4.
How do I fix CVE-2026-49132?
To fix CVE-2026-49132, upgrade your OPNsense installation to version 26.1.9 or later.
What type of vulnerability is CVE-2026-49132?
CVE-2026-49132 is a stored cross-site scripting (XSS) vulnerability.
Who is affected by CVE-2026-49132?
Users of OPNsense versions prior to 26.1.9 are affected by CVE-2026-49132.
What can an attacker do with CVE-2026-49132?
An attacker can inject arbitrary HTML or JavaScript through the certificate description field via the trust certificate API.