CVE-2026-49131: OPNsense < 26.1.9 Stored XSS via Firewall Rule Description Field

Published Aug 3, 2026
·
Updated

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 opnsensebootgrid.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.

Affected Software

1 affected component
OPNsense OPNsense<26.1.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade opnsense to a version that resolves this vulnerability.

    Fixed in 26.1.9
  2. Compensating control

    Restrict Firewall rule management privileges to only trusted administrators so authenticated attackers cannot inject payloads via the firewall rule description field (filter API endpoint).

Event History

Aug 3, 2026
CVE Published
via MITRE·08:29 PM
Data Sourced
via MITRE·08:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
Sep 1, 58559
Event
via NVD·02:21 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-49131?

The severity of CVE-2026-49131 is medium with a CVSS score of 5.4.

2

How do I fix CVE-2026-49131?

To fix CVE-2026-49131, upgrade OPNsense to version 26.1.9 or later.

3

What type of vulnerability is CVE-2026-49131?

CVE-2026-49131 is a stored cross-site scripting (XSS) vulnerability.

4

Who is affected by CVE-2026-49131?

Authenticated users with firewall rule management privileges in OPNsense versions prior to 26.1.9 are affected by CVE-2026-49131.

5

What can an attacker do with CVE-2026-49131?

An attacker can inject arbitrary HTML or JavaScript via the firewall rule description field, potentially compromising the application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203