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.
Problem types
CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Product status
References
github.com/...erTube/security/advisories/GHSA-jxwq-h9xv-hr28
github.com/...ommit/45394d701b08e87d72b8f0c1866b881f2becbde3
github.com/Chocobozzz/PeerTube/releases/tag/v8.2.2