---
id: CVE-2026-49132
title: >-
  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 A…
summary: >-
  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 A…
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
published: '2026-08-03'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T20:32:21.400'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-49132'
references:
  - url: 'https://docs.opnsense.org/releases/CE_26.1.html#june-02-2026'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/opnsense/core/commit/12b021ff11db38705e92ac4c9af5e07d602da6ba
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/opnsense-stored-xss-via-certificate-description-field
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00185
epssPercentile: 0.07159
ingestedAt: '2026-09-16T21:05:36.832Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
