Public vulnerability disclosure

CVE-2026-135253

MISP NIDS Rule Export Injection via Unescaped Attribute Values and Tags

publishedCWE-116CWE-74

MISP's NIDS rule export functionality for Snort and Suricata formats does not properly escape user-controlled data before embedding it into generated rule text. Attribute values, tag names, and URL paths are inserted directly into rule options (msg, metadata, content matches) without neutralizing characters that are syntactically significant in the NIDS rule grammar, such as double quotes, semicolons, backslashes, commas, and control characters. An authenticated user with the ability to create or modify attributes in a MISP instance can craft attribute values or tag names containing these special characters. When the NIDS rules are exported, the unescaped data breaks out of the intended option or content field, allowing injection of arbitrary rule options, corruption of rule structure, or generation of syntactically invalid rules that may cause the downstream NIDS engine to reject the entire ruleset. The affected export paths include: - Snort and Suricata msg: option (quotes, semicolons, backslashes, control characters) - Suricata metadata: option (commas, semicolons, quotes, whitespace, control characters) - Suricata http.uri content: match for URL path (quotes, semicolons, pipe characters) Security impact is limited to the integrity and availability of the exported NIDS rules and the downstream NIDS engine that consumes them. There is no direct compromise of the MISP application itself. Affected: MISP versions prior to 2.5.52.

Technical severity5.3 mediumCVSS 4.0 · CNA: CIRCL
Published2026-11-23Source updated 2026-11-23
Collected2026-11-231 attributed source

Fixes and workarounds

Fix

The fix introduces dedicated escaping functions that neutralize NIDS-rule-significant characters before they are embedded in generated rule text. For msg: options, control characters are replaced with underscores and backslashes, double quotes, and semicolons are backslash-escaped. For Suricata metadata fields, all whitespace, commas, semicolons, quotes, backslashes, and control characters are replaced with underscores. For content: matches, the existing illegal-character replacement is extended to hex-encode control characters. Additionally, the URL path in Suricata rules is now passed through the illegal-character escaper before being placed in the http.uri content match, and two dead assignments that incorrectly set the path from the host are removed.

Source: CNA: CIRCL

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: CNA: CIRCL

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: CNA: CIRCL

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
MISP
MISP
≥ 0; < 2.5.52 (affected, semver) CNA: CIRCL

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 5.3
medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NCNA: CIRCL

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide