Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-57167: CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in Chocobozzz PeerTube

0
Medium
VulnerabilityCVE-2026-57167cvecve-2026-57167cwe-80
Published: 07/10/2026 (07/10/2026, 16:37:59 UTC)
Source: CVE Database V5
Vendor/Project: Chocobozzz
Product: PeerTube

Description

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.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Affected software

GitHub Actionsmore threats →ai
chocobozzz/PeerTube
pkg:github/chocobozzz/PeerTube
Affected versions
<8.2.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 17:32:49 UTC

Technical Analysis

CVE-2026-57167 is a medium severity vulnerability in Chocobozzz PeerTube, an ActivityPub-federated video streaming platform. The issue arises because 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. This improper neutralization of script-related HTML tags (CWE-80) allows an attacker to inject arbitrary HTML or JavaScript by including a byte sequence that closes a script element in the video metadata. This malicious code executes in the origin context of the PeerTube instance for visitors watching the attacker's videos. The vulnerability affects all versions prior to 8.2.2 and is resolved in version 8.2.2.

Potential Impact

An attacker can execute arbitrary JavaScript in the security context of the PeerTube instance by crafting video metadata that injects malicious code. This can lead to typical XSS impacts such as session hijacking, defacement, or other client-side attacks against users viewing the attacker's videos. The vulnerability requires user interaction (viewing the malicious video) and low attack complexity with no privileges required.

Mitigation Recommendations

Upgrade PeerTube to version 8.2.2 or later, where this vulnerability has been fixed by properly escaping characters in JSON-LD metadata. No other mitigations are specified. Patch status is confirmed by the vendor stating the issue is fixed in 8.2.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-24T01:47:55.285Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a51295c68715ace43e3b832

Added to database: 07/10/2026, 17:18:20 UTC

Last enriched: 07/10/2026, 17:32:49 UTC

Last updated: 07/10/2026, 18:17:29 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses