VAITP Dataset

← Back to the dataset

CVE-2026-49995

Stored XSS via unsanitized newsletter cron value in Tautulli.

  • CVSS 4.8
  • CWE-79
  • Input Validation and Sanitization
  • Remote

Tautulli is a Python based monitoring and tracking tool for Plex Media Server. Prior to 2.17.2, the newsletter cron field stored in the newsletters table is inserted by data/interfaces/default/newsletter_config.html into a JavaScript string without safe JSON encoding. An administrator or caller with the Tautulli API key can store a crafted cron value, and an administrator who later opens the newsletter configuration modal passively triggers script execution in the Tautulli web context. The stored value persists in the database and can continue to execute after credential rotation until it is removed. This issue is fixed in version 2.17.2.

CVSS base score
4.8
Published
2026-09-21
OWASP
A03 Injection
Orthogonal defect classification
Interface
Code defect classification
Missing Check
Category
Input Validation and Sanitization
Subcategory
Insecure Parsing or Deserialization
Accessibility scope
Remote
Impact
Arbitrary Code Execution
Affected component
Tautulli

Solution

Upgrade Tautulli to version 2.17.2 or later.

Vulnerable code sample

import sqlite3

def save_newsletter_cron(db_path: str, cron: str) -> None:
    """
    Store the newsletter cron expression entered via the web UI.
    """
    conn = sqlite3.connect(db_path)
    cur = conn.cursor()
    # VULNERABLE: unsanitized insertion into JavaScript string
    js_payload = f"<script>var cron = '{cron}'; initNewsletter(cron);</script>"
    cur.execute(
        "UPDATE newsletters SET cron_script = ? WHERE id = 1",
        (js_payload,)
    )
    conn.commit()
    conn.close()

Patched code sample

import sqlite3
import json

def save_newsletter_cron(db_path: str, cron: str) -> None:
    """
    Store the newsletter cron expression entered via the web UI.
    """
    conn = sqlite3.connect(db_path)
    cur = conn.cursor()
    # FIX: JSON-encode the value to prevent script injection
    js_payload = f"<script>var cron = {json.dumps(cron)}; initNewsletter(cron);</script>"
    cur.execute(
        "UPDATE newsletters SET cron_script = ? WHERE id = 1",
        (js_payload,)
    )
    conn.commit()
    conn.close()

Cite this entry

@misc{vaitp:cve202649995,
  title        = {{Stored XSS via unsanitized newsletter cron value in Tautulli.}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-49995},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-49995/}}
}

Download this entry as JSON Download the whole dataset

Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::

Before you use the VAITP AI models

Please read and accept the following disclaimer:

By choosing "I understand and accept", you acknowledge that you understand and agree to these terms.