CVE-2026-57167
MediumCVSS 5.1Exploitation Probability (EPSS)
Low risk19th 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- CVE-2026-73211Critical
PeerTube is an ActivityPub-federated video streaming platform. Prior to 8.1.6, ActorFollowModel.updateScore() interpolates the attacker-controlled ActivityPub actor inboxUrl into an SQL query, allowing an unauthenticated remote server to read and write PeerTube database tables, including oAuthToken.accessToken, and take over administrator accounts. This issue is fixed in version 8.1.6.
- CVE-2026-73090Critical
PeerTube is an ActivityPub-federated video streaming platform. Prior to 8.2.2, processUpdateActivity and processUpdateVideo accept an ActivityPub Update containing a Video object without verifying that byActor.url is authorized for the host in videoObject.id, allowing a malicious federated server to rewrite another server's video metadata, visibility, media file, and HLS URLs. This issue is fixed in version 8.2.2.
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.

