Skip to main content

wastebin CVE-2026-50883

| EUVDEUVD-2026-36781 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-06-15 mitre GHSA-ch49-46cv-33f2
9.6
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify exposed wastebin v3.4.1 instance
  2. Delivery
    Craft paste with HTML/JS injection payload
  3. Exploit
    Submit paste via anonymous endpoint
  4. Install
    Distribute paste URL to victim
  5. C2
    Victim browser renders paste through highlight.rs
  6. Execute
    Injected script executes in wastebin origin
  7. Impact
    Hijack session or exfiltrate paste data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) a reachable wastebin v3.4.1 instance that accepts paste submissions from the attacker - by default wastebin allows anonymous paste creation, so no credentials are needed; (2) the paste must be rendered through the syntax-highlighting code path in /src/highlight.rs, meaning the instance must have highlighting enabled (default) and the attacker must select or trigger a language mode that exercises the vulnerable rendering; and (3) a victim user must click and view the attacker-created paste URL in a JavaScript-enabled browser (UI:R). Limiting factors that reduce realistic risk: the victim-interaction requirement rules out worm-style propagation, an instance configured with a strict Content-Security-Policy or with syntax highlighting disabled is not exploitable, and wastebin instances are typically small private deployments rather than internet-scale targets.

Impact

The headline CVSS 3.1 score of 9.6 is unusually high for a stored XSS, driven by S:C (scope change to the browsing user's context) combined with C:H/I:H/A:H, and the AV:N/AC:L/PR:N profile reflects that any unauthenticated attacker can create a paste; however, UI:R correctly captures that a victim must visit the malicious paste for impact. Real-world risk is materially lower than the score suggests: EPSS is 0.18% (8th percentile), the issue is not on the CISA KEV list, and wastebin is a niche self-hosted application rather than a mass-deployed target, so automated exploitation at scale is unlikely. The single reference is a third-party gist rather than a vendor advisory, and no fix version, SSVC decision, or POC verification is provided in the input - these gaps should be resolved against the upstream GitHub repository before prioritization. Conflict to flag: the C:H/I:H/A:H impact rating is aggressive for an XSS where realistic impact is typically session theft or paste-content tampering, not full host compromise.

Exploit ScenarioDerived

An attacker submits a paste containing a crafted payload that, once processed by the highlight.rs renderer, breaks out of the intended highlighted-token markup and is served back as executable HTML/JavaScript; the attacker shares the paste URL with a target user (e.g., via chat, email, or a phishing link). When the victim opens the paste in a browser, the injected script runs in the wastebin origin and can steal session cookies, exfiltrate other pastes the victim can access, or perform actions on the victim's behalf. A proof-of-concept payload appears to be published in a referenced gist, but no public exploit identified at time of analysis as a fully weaponized tool.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 16, 2026

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

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.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Jun 16, 2026 - 15:22 NVD
9.6 (CRITICAL)
CVE Published
Jun 15, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

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

Executive ViewAI

Why It Matters

matze wastebin v3.4.1 contains a critical stored cross-site scripting vulnerability that allows unauthenticated users to inject malicious JavaScript affecting all users who view affected pastes. No public exploit identified at time of analysis; however, with CVSS 9.6 severity and no available patch, immediate mitigation is required to prevent potential account compromise and data theft.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deploy strict Content-Security-Policy headers with script-src 'none' to prevent inline JavaScript execution; (2) Disable HTML/script rendering and enforce text-only or markdown-only paste viewing mode; (3) Implement WAF rules to filter pastes containing <script> tags and event handler attributes; (4) Add server-side HTML entity encoding on all paste display output; (5) Restrict wastebin access to authenticated users only; (6) Monitor paste submissions for malicious patterns including JavaScript keywords and encoded payloads.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy