CVE Catalog

CVE-2026-57167

MediumCVSS 5.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.27%

19th percentile - higher than 19% of all known CVEs

Summary

PeerTube before version 8.2.2 contains a server-side cross-site scripting (XSS) vulnerability in video watch pages. When generating a schema.org JSON-LD block, video metadata is stringified without escaping special characters, allowing an attacker to inject arbitrary HTML or JavaScript.

Risk Assessment

An attacker can embed malicious code in their video metadata that executes in the browser of visitors within the PeerTube instance origin. This could lead to session theft, account takeover, or further attacks on users.

Recommendation

Immediately upgrade PeerTube to version 8.2.2 or later, which fixes the vulnerability.

Other vulnerabilities in PeerTube

See all
Original NVD description (English source)

PeerTube is an ActivityPub-federated video streaming platform. Prior to 8.2.2, server-side-rendered video watch pages embed a schema.org JSON-LD block by JSON.stringify-ing video metadata without escaping less-than, greater-than, or slash characters, allowing a value containing the byte sequence that closes a script element to inject arbitrary HTML or JavaScript that executes in the instance origin for visitors to the attacker's videos. This issue is fixed in version 8.2.2.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS