# CVE-2026-104907: MISP: JavaScript Injection via Remote Tag ID in Event Preview Inline Handler

- Severity: Medium 4.8 (CVSS:4.0, scored by CIRCL) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N`
- 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.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-10-02T15:51:34.565Z
- Modified: 2026-10-02T17:17:04.823Z
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CIRCL

## Description

MISP contains a cross-site scripting (XSS) vulnerability in the remote event preview page. When a linked (remote) MISP server is configured, the event preview renders tag identifiers inside an inline JavaScript onclick attribute. The tag ID value was HTML-escaped but not sanitized for the JavaScript string context, meaning a malicious linked server could supply a tag ID containing characters (such as a single quote) that break out of the JavaScript string literal and inject arbitrary script.

Preconditions:

- A linked/remote MISP server is configured and connected to the local instance.

- The linked server supplies a crafted tag ID in an event.

- An authenticated user views the event preview and interacts with the affected tag element.

Impact:

- Arbitrary JavaScript execution in the context of the viewing user's browser session, potentially allowing session hijacking, data exfiltration, or unauthorized actions on behalf of the user.

Affected versions: MISP prior to the fix commit (v2.5.48 or later, exact boundary unconfirmed).

(As written by CVE List.)

## Affected

- MISP MISP: before 2.5.48

## References

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

## Sources

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

---

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