CVE-2026-135253
published medium CVSS 4.0 · 5.3MISP NIDS Rule Export Injection via Unescaped Attribute Values and Tags
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MISP | — | MISP0 to < 2.5.52 | Affected | Not stated | CIRCL |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CIRCL · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MISP | MISP | 0 to < 2.5.52 (affected · semver) | CIRCL · cna |
Weaknesses
2- CWE-116 CWE-116 Improper Encoding or Escaping of Output
- CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
2- Security patch https://github.com/MISP/MISP/commit/8438e44ffa711d1c0d1e1500c06338f5ddd634c8
- Security patch https://github.com/MISP/MISP/commit/a21b51086c9dbccea8756cb9025384e2cf3d7823
Provider assertions
2CIRCL · cna
MISP NIDS Rule Export Injection via Unescaped Attribute Values and Tags
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0addf18e2c5210b5a68386af742c500983df3ca67e9f8e89fc1dab997aad071b
- Ingested
- 24 Nov 2026, 16:31:46 UTC
- Source record
- Official CVE record