CVE-2026-57167: PeerTube: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
PeerTubeto a version that resolves this vulnerability.Fixed in 8.2.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-57167?
The severity of CVE-2026-57167 is medium, rated at 5.1 on the CVSS scale.
What type of vulnerability is CVE-2026-57167?
CVE-2026-57167 is classified as a Cross-Site Scripting (XSS) vulnerability due to improper neutralization of script-related HTML tags.
How do I fix CVE-2026-57167?
To fix CVE-2026-57167, upgrade PeerTube to version 8.2.2 or later where the vulnerability has been addressed.
What could happen if CVE-2026-57167 is exploited?
If CVE-2026-57167 is exploited, an attacker could execute malicious scripts in the context of the user’s session, potentially leading to data theft or unauthorized actions.
Which software is affected by CVE-2026-57167?
CVE-2026-57167 affects the PeerTube video streaming platform prior to version 8.2.2.