{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "a21b51086c9dbccea8756cb9025384e2cf3d7823"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "8438e44ffa711d1c0d1e1500c06338f5ddd634c8"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a21b51086c9dbccea8756cb9025384e2cf3d7823"
            },
            {
              "fixed": "8438e44ffa711d1c0d1e1500c06338f5ddd634c8"
            }
          ],
          "repo": "https://github.com/misp/misp",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CIRCL",
    "cwe_ids": [
      "CWE-116",
      "CWE-74"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135253.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "2.5.52"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "2.5.52"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "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.\n\nAn 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.\n\nThe affected export paths include:\n- Snort and Suricata msg: option (quotes, semicolons, backslashes, control characters)\n- Suricata metadata: option (commas, semicolons, quotes, whitespace, control characters)\n- Suricata http.uri content: match for URL path (quotes, semicolons, pipe characters)\n\nSecurity 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.\n\nAffected: MISP versions prior to 2.5.52.",
  "id": "CVE-2026-135253",
  "modified": "2026-11-23T16:45:32.140780091Z",
  "published": "2026-11-23T15:43:49.389Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135253.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/MISP/MISP"
    },
    {
      "type": "FIX",
      "url": "https://github.com/MISP/MISP/commit/8438e44ffa711d1c0d1e1500c06338f5ddd634c8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/MISP/MISP/commit/a21b51086c9dbccea8756cb9025384e2cf3d7823"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135253"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "MISP NIDS Rule Export Injection via Unescaped Attribute Values and Tags"
}