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

Medium 5.1 Published Updated

Attackers can inject arbitrary JavaScript into video watch pages via unescaped JSON-LD metadata, executing code in the victim's browser context.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-57167?

CVE-2026-57167 is a medium-severity cross-site scripting vulnerability in Chocobozzz PeerTube, published on 10 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-80

Which versions are affected by CVE-2026-57167?

How do I fix CVE-2026-57167?

No fix has been published for CVE-2026-57167 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-57167 being exploited?

There is no known exploitation of CVE-2026-57167 in the wild and no public exploit code.

Sources

Also known as GHSA-jxwq-h9xv-hr28.

Is CVE-2026-57167 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free