CVE-2026-57167
JSON

5.1medium

PeerTube: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Severity
5.1medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
Chocobozzz PeerTube< 8.2.2CVE List

Classification

CWE-80

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

PeerTube es una plataforma de transmisión de video federada con ActivityPub. Antes de la versión 8.2.2, las páginas de visualización de video renderizadas en el lado del servidor incrustaban un bloque JSON-LD de schema.org al aplicar JSON.stringify a los metadatos del video sin escapar los caracteres de menor que, mayor que o barra inclinada, lo que permitía que un valor que contenía la secuencia de bytes que cierra un elemento script inyectara HTML o JavaScript arbitrario que se ejecuta en el origen de la instancia para los visitantes de los videos del atacante. Este problema se solucionó en la versión 8.2.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57167 changed 2026-07-10CVE Terms of Use
NVDCVE-2026-57167 changed 2026-10-25Public domain