CVE-2026-49131
JSON

5.1medium

OPNsense < 26.1.9 Stored XSS via Firewall Rule Description Field

Severity
5.1medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
Deciso B.V. OPNsensebefore 26.1.9CVE List

All scores

VulnCheck5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
VulnCheck5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

OPNsense anterior a la versión 26.1.9 contiene una vulnerabilidad de cross-site scripting almacenado que permite a atacantes autenticados con privilegios de gestión de reglas de cortafuegos inyectar HTML o JavaScript arbitrario incrustando cargas útiles en el campo de descripción de la regla de cortafuegos a través del endpoint de la API de filtro. El valor de descripción no saneado se persiste y se renderiza posteriormente a través del formateador de celda predeterminado en opnsense_bootgrid.js, que asigna el contenido de celda sin procesar a innerHTML, lo que provoca que los scripts inyectados se ejecuten en el navegador de cualquier usuario autenticado que vea la página de Reglas de Cortafuegos, permitiendo el secuestro de sesión o el robo de credenciales.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49131 changed 2026-08-14CVE Terms of Use
NVDCVE-2026-49131 changed 2026-10-23Public domain