# CVE-2026-85227: Reflected Cross-Site Scripting in MISP Event Filtering via taggedAttributes and galaxyAttachedAttributes Parameters

- Severity: Medium 6.1 (CVSS:4.0, scored by CIRCL) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-03T14:42:02.782Z
- Modified: 2026-09-10T19:38:21.010Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CIRCL

## Description

MISP contains a reflected Cross-Site Scripting (XSS) vulnerability in the event attribute filtering query builder. The taggedAttributes and galaxyAttachedAttributes URL parameters were inserted into the query-builder rules without HTML escaping before being serialized as JSON and embedded inside a <script> element.


Because JsonTool::encode() uses JSON_UNESCAPED_SLASHES, an attacker-controlled value containing a closing </script> sequence could terminate the surrounding script element and inject arbitrary HTML or JavaScript. For example, a specially crafted viewEventAttributes URL could contain malicious content in one of the affected filter parameters.


An attacker could exploit the vulnerability by convincing an authenticated MISP user to follow a crafted URL. Successful exploitation would execute attacker-controlled JavaScript in the security context of the MISP instance and with the privileges of the victim's authenticated browser session. This could allow access to information available to the victim, modification of data through authenticated requests, or other actions permitted by the victim's MISP permissions.


The vulnerability is addressed by applying HTML escaping with h() to both scalar and array values before they are inserted into the DOM.

(As written by CVE List.)

## Affected

- misp misp: up to 2.5.45
- misp-project misp: before 2.5.46

## Every score

- CIRCL: CVSS:4.0 6.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/MISP/MISP/commit/de51a16db> (patch)

## Sources

- CVE List: [CVE-2026-85227](https://www.cve.org/CVERecord?id=CVE-2026-85227), CVE Terms of Use, modified 2026-09-03
- NVD: [CVE-2026-85227](https://nvd.nist.gov/vuln/detail/CVE-2026-85227), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-85227 · Whole record: https://cve.day/CVE-2026-85227.json · Rebuilt by cve.day 2026-11-25T22:59:36.193Z
