Description
OPNsense before 26.1.9 contains a stored cross-site scripting vulnerability that allows authenticated attackers with firewall rule management privileges to inject arbitrary HTML or JavaScript by embedding payloads in the firewall rule description field via the filter API endpoint. The unsanitized description value is persisted and later rendered through the default cell formatter in opnsense_bootgrid.js, which assigns raw cell content to innerHTML, causing injected scripts to execute in the browser of any authenticated user who views the Firewall Rules page, enabling session hijacking or credential theft.
Published: 2026-08-03
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This CVE exposes a stored cross‑site scripting flaw in OPNsense’s firewall rule description field. The vulnerable code stores user input without validation and later renders it via the bootgrid.js cell formatter, which assigns raw content to innerHTML. When a malicious payload is injected, any authenticated user who opens the Firewall Rules page will have the malicious script executed in their browser, potentially allowing session hijacking or credential theft. The weakness is a classic XSS flaw (CWE‑79).

Affected Systems

OPNsense versions released before 26.1.9 from Deciso B.V. are affected. The issue exists for all users with firewall rule management privileges; the injected script can affect any authenticated user who views the Firewalls page.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. No EPSS data is available, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires authenticated access with firewall rule editing rights, and the attacker can deliver the payload through the filter API endpoint. Once stored, the script runs automatically for any authenticated UI viewer, providing an easy attack path for insiders or compromised accounts.

Generated by OpenCVE AI on August 4, 2026 at 09:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the OPNsense patch or upgrade to version 26.1.9 or later, which removes the unsanitized rendering of rule descriptions.
  • After upgrading, audit existing firewall rules to ensure no malicious or legacy scripts remain in the description field.
  • If an immediate upgrade is not feasible, restrict or disable modification of the firewall rule description field for high‑privilege accounts, or manually sanitize the content to remove scripts before saving.

Generated by OpenCVE AI on August 4, 2026 at 09:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Opnsense
Opnsense opnsense
CPEs cpe:2.3:a:opnsense:opnsense:*:*:*:*:*:*:*:*
Vendors & Products Opnsense
Opnsense opnsense

Wed, 05 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Deciso
Deciso opnsense
Vendors & Products Deciso
Deciso opnsense

Tue, 04 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 20:45:00 +0000

Type Values Removed Values Added
Description OPNsense before 26.1.9 contains a stored cross-site scripting vulnerability that allows authenticated attackers with firewall rule management privileges to inject arbitrary HTML or JavaScript by embedding payloads in the firewall rule description field via the filter API endpoint. The unsanitized description value is persisted and later rendered through the default cell formatter in opnsense_bootgrid.js, which assigns raw cell content to innerHTML, causing injected scripts to execute in the browser of any authenticated user who views the Firewall Rules page, enabling session hijacking or credential theft.
Title OPNsense < 26.1.9 Stored XSS via Firewall Rule Description Field
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Deciso Opnsense
Opnsense Opnsense
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:50:01.832Z

Reserved: 2026-05-27T17:40:12.738Z

Link: CVE-2026-49131

cve-icon Vulnrichment

Updated: 2026-08-04T14:00:47.468Z

cve-icon NVD

Status : Received

Published: 2026-08-03T21:16:39.750

Modified: 2026-08-04T15:16:36.377

Link: CVE-2026-49131

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T09:45:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')