Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Anonymous paste creation gives PR:N and AC:L over the network; victim must view the paste (UI:R); stored XSS changes scope to the browser (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
An HTML injection vulnerability in the /src/highlight.rs component of matze wastebin v3.4.1 allows attackers to execute arbitrary scripts via a crafted payload.
AnalysisAI
Stored HTML/script injection in matze wastebin v3.4.1 allows remote unauthenticated attackers to execute arbitrary JavaScript in the browser of any user who views a crafted paste, by abusing improper output encoding in the /src/highlight.rs syntax-highlighting component. A public gist appears to demonstrate the issue, but no public exploit identified at time of analysis as weaponized tooling, and EPSS exploitation probability is low at 0.18% (8th percentile).
Technical ContextAI
Wastebin is a self-hosted Rust-based pastebin service maintained by upstream developer 'matze'. The vulnerable code path is the highlight.rs module, which is responsible for rendering user-submitted snippets with syntax highlighting before emitting them as HTML. CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates the highlighter is failing to encode or sanitize user-controlled tokens before they are interpolated into the HTML response, so an attacker-controlled paste body is rendered as live markup rather than inert text. Because pastes are served back to any visitor of the paste URL, the flaw behaves as a stored cross-site scripting issue executing in the wastebin origin.
RemediationAI
No vendor-released patch identified at time of analysis - operators should monitor the upstream wastebin GitHub repository for a release newer than 3.4.1 that addresses the highlight.rs encoding issue and upgrade as soon as a fixed tag is published; the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-50883 should be checked for an updated patch reference. As compensating controls until a fix is available, deploy a strict Content-Security-Policy response header on the wastebin host that disallows inline scripts (e.g., script-src 'self' without 'unsafe-inline'), which neutralizes injected <script> blocks at the cost of breaking any legitimate inline scripting in custom themes; restrict paste creation to authenticated or IP-allowlisted users via a reverse proxy to remove the unauthenticated attack surface, accepting the loss of anonymous public-paste functionality; and disable or replace the syntax-highlighting feature on the instance if the deployment can tolerate plain-text rendering, which eliminates the vulnerable code path entirely.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-36781
GHSA-ch49-46cv-33f2