CVE-2026-49131
Received Received - Intake

Stored XSS in OPNsense Firewall Rules via Filter API

Vulnerability report for CVE-2026-49131, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-03

Last updated on: 2026-08-03

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-03
Last Modified
2026-08-03
Generated
2026-08-04
AI Q&A
2026-08-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
opnsense opnsense to 26.1.9 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stored cross-site scripting (XSS) vulnerability in OPNsense before version 26.1.9. It allows authenticated attackers with firewall rule management privileges to inject malicious HTML or JavaScript code by entering it in the firewall rule description field. The unsanitized input is saved and later displayed on the Firewall Rules page, where it executes in the browsers of other authenticated users who view the page.

Detection Guidance

To detect this vulnerability, check OPNsense versions before 26.1.9 for stored XSS in firewall rule descriptions. Inspect the filter API endpoint for unsanitized input in rule descriptions. Review opnsense_bootgrid.js for raw innerHTML usage. Check browser console for unexpected scripts when viewing Firewall Rules page.

Impact Analysis

If exploited, this vulnerability could allow attackers to hijack user sessions or steal credentials. Any authenticated user viewing the Firewall Rules page could have their browser compromised by the injected script, potentially leading to unauthorized access to the system or sensitive data.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by enabling session hijacking or credential theft. If exploited, attackers could gain unauthorized access to sensitive data, violating confidentiality requirements under these regulations. The stored XSS flaw allows malicious scripts to execute in authenticated user browsers, risking data breaches.

Mitigation Strategies

Upgrade OPNsense to version 26.1.9 or later to address the stored XSS vulnerability in firewall rule descriptions. Review firewall rule descriptions for suspicious payloads and remove any unauthorized HTML or JavaScript content.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49131. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart