← Vulnerability feed

Vulnerability record · CVE-2018-8831 · published 18 April 2018

CVE-2018-8831: Kodi persistent XSS via playlist executes script in victim browser

Kodi · Kodi

Kodi through 17.6 contains a persistent cross-site scripting flaw in how it handles playlists, allowing arbitrary HTML or script to be stored and later executed in the context of the victim user's browser. Because the payload persists, any user who views the affected playlist content can trigger it, making it a reliable vector for browser-side compromise.

6.1 CVSS 3.0 Medium EPSS 53% · top 1.1% CWE-79 · Cross-site scripting
6.1CVSS 3.0 base score, v2 4.3
53%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

A Persistent XSS vulnerability exists in Kodi (formerly XBMC) through 17.6 that allows the execution of arbitrary HTML/script code in the context of the victim user's browser via a playlist.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

medium priorityCVSS rates it medium (6.1) and exploitation requires user interaction, but public exploit code and a very high EPSS score raise the practical risk.

What it is

Kodi through 17.6 contains a persistent cross-site scripting flaw in how it handles playlists, allowing arbitrary HTML or script to be stored and later executed in the context of the victim user's browser. Because the payload persists, any user who views the affected playlist content can trigger it, making it a reliable vector for browser-side compromise.

Impact

An attacker can execute arbitrary script in the victim's browser session, enabling theft of session data, page manipulation, or redirection to malicious content. The CVSS scope change (S:C) indicates the impact can extend beyond the vulnerable component.

Attack surface

Reached over the network (AV:N) with no privileges required (PR:N), but successful exploitation requires user interaction (UI:R) such as opening or viewing a crafted playlist. No authentication is needed to deliver the payload.

Exploitation

Public exploit code is referenced in Exploit-DB and Full Disclosure, and EPSS is high (0.52652, 98.9th percentile), but the CVE is not listed in CISA KEV, so there is no confirmed in-the-wild exploitation record here.

What to do

  • Upgrade Kodi to a version later than 17.6 that addresses the playlist XSS issue.
  • If upgrade is not possible, restrict or disable untrusted playlist sources and avoid opening playlists from unknown origins.
  • Apply browser-side protections such as a strict Content Security Policy where Kodi web content is rendered.
  • Educate users not to open playlists or media links from untrusted sources.
  • Monitor vendor advisory trac.kodi.tv/ticket/17814 for patch guidance.

Detection

  • Inspect Kodi playlist files for embedded HTML or script tags that should not appear in media playlists.
  • Monitor browser or Kodi logs for unexpected script execution or outbound requests following playlist access.
  • Hunt for known exploit payload patterns from the referenced Exploit-DB entry in file or network telemetry.
  • Alert on Kodi processes spawning browser sessions or unusual child processes after playlist handling.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://seclists.org/fulldisclosure/2018/Apr/36 ExploitMailing ListThird Party Advisory
https://trac.kodi.tv/ticket/17814 Vendor Advisory
https://www.exploit-db.com/exploits/44487/ ExploitThird Party AdvisoryVDB Entry
http://seclists.org/fulldisclosure/2018/Apr/36 ExploitMailing ListThird Party Advisory
https://trac.kodi.tv/ticket/17814 Vendor Advisory
https://www.exploit-db.com/exploits/44487/ ExploitThird Party AdvisoryVDB Entry

Track CVE-2018-8831 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2017-5982Kodi Chorus2 add-on directory traversal allows arbitrary file readThe Chorus2 2.4.2 add-on for Kodi contains a directory traversal flaw in its image path handling. A crafted encoded dot-dot-slash sequence lets a rem…EPSS 78%analysed5.5CVE-2023-30207Kodi divide by zero vulnerabilityA divide by zero issue discovered in Kodi Home Theater Software 19.5 and earlier allows attackers to cause a denial of service via use of crafted mp3…EPSS 0.33%5.5CVE-2021-42917Kodi classic buffer overflow vulnerabilityBuffer overflow vulnerability in Kodi xbmc up to 19.0, allows attackers to cause a denial of service due to improper length of values passed to istre…EPSS 1.9%5.5CVE-2017-8314Kodi path traversal vulnerabilityDirectory Traversal in Zip Extraction built-in function in Kodi 17.1 and earlier allows arbitrary file write on disk via a Zip file as subtitles.EPSS 2.5%4.6CVE-2023-23082Kodi out-of-bounds write vulnerabilityA heap buffer overflow vulnerability in Kodi Home Theater Software up to 19.5 allows attackers to cause a denial of service due to an improper length…EPSS 0.68%6.1CVE-2026-42897Microsoft Exchange Server XSS enables spoofingMicrosoft Exchange Server and Exchange Server Subscription Edition fail to neutralize input during web page generation, a cross-site scripting flaw (…KEVEPSS 0.52%analysed6.1CVE-2025-48700Zimbra Classic UI stored XSS via crafted email HTMLZimbra Collaboration Suite Classic UI fails to properly sanitize HTML content in email messages, allowing crafted tag structures and attribute values…KEVEPSS 1.7%analysed6.1CVE-2025-66376Zimbra Collaboration Classic UI stored XSS via CSS @import in emailZimbra Collaboration Suite 10 before 10.0.18 and 10.1 before 10.1.13 allows stored cross-site scripting in the Classic UI through CSS @import directi…KEVEPSS 20%analysed

Source: NIST National Vulnerability Database (record CVE-2018-8831), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.