Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as ordinary Hubleys user
-
DeliveryUpload .html payload as background image
-
ExploitServer stores file with attacker extension
-
ExecutionSend background link to logged-in victim
-
PersistScript executes in origin, no CSP
-
ImpactHijack victim session and act with their privileges
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 | Requires a valid authenticated (non-admin) Hubleys account, since the vulnerable background-upload action in src/routes/settings/background/+page.server.ts only checks that locals.user exists. The user's background provider must be in the static upload mode (the patched GET handler now gates on bgCfg.background = 'static' && static_image.source = 'upload'), and the uploaded file keeps its attacker-chosen extension (e.g. .html), which the serving route in src/routes/background/[slug]/+server.ts maps to a Content-Type via mrmime's lookup() while bypassing SvelteKit's CSP because it returns a hand-built Response. Exploitation is LIMITED by: the need for an authenticated account under forward-auth, and the requirement that a still-logged-in victim actually open the crafted /background/<id> link for the stored script to execute in-origin. |
| Impact | This is a legitimate but moderate-priority issue rather than an internet-scale emergency. The upstream CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and score of 7.1 reflect network reachability and low attack complexity, but PR:L correctly captures that an attacker must already hold a valid (non-admin) Hubleys account via the shared forward-auth identity - this is not an unauthenticated flaw. The upstream vector sets UI:N, yet both the description and the GHSA PoC show the stored payload only executes when a victim opens the attacker-supplied background link, so realistic exploitation does involve victim interaction; this is a notable inconsistency between the published vector and the described mechanism. No EPSS score, no CISA KEV entry, and no SSVC automatable/technical-impact breakdown were supplied; the only decision signal is vuln.today's 'this_week' priority label, which aligns with a real-but-not-critical stored XSS. A detailed public PoC is present in the GHSA advisory (curl-based upload and retrieval steps). The impact is genuine - session-context script execution against any viewer including an admin - but the account prerequisite plus the need to lure a logged-in victim keep this well below drive-by-exploitation risk. Treat it as a prompt patch for exposed multi-user instances, not a fire drill. |
| Exploit ScenarioDerived | A low-privileged but authenticated Hubleys user uploads an .html file containing an inline script as their dashboard background image, which the server later serves as text/html with no Content-Security-Policy. The attacker sends the resulting /background/<id>.html link to a logged-in victim (ideally an admin); when opened, the script runs in the app's own origin and can issue same-origin requests with the victim's privileges, such as reading or modifying settings. A working PoC is published in the GHSA advisory, though it is not verified as a packaged weaponized exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Stored cross-site scripting in Hubleys Dashboard 0.5.1 and earlier lets any authenticated non-admin user upload a file with an arbitrary extension (for example .html) as their own dashboard background image; the file is written to disk with the attacker-chosen extension and later served back by the /background/<id> endpoint with a Content-Type derived from that extension, so a browser receives text/html. Because that endpoint returns a hand-built Response instead of going through SvelteKit's page-rendering pipeline, the application's configured Content-Security-Policy is never attached and an inline script in the upload executes in the application origin, allowing same-origin requests with the viewer's forward-auth session. Exploitation is gated by two prerequisites - a valid authenticated (non-admin) account to upload the file, and a still-logged-in victim who opens the crafted /background/<id> link - and a public proof-of-concept with full reproduction steps is published in the GitHub security advisory; it is not verified as working exploit code. Vendor-released patch: 0.5.2.
RemediationAI
Upgrade to Hubleys Dashboard 0.5.2, the vendor-released patch referenced at https://github.com/knrdl/hubleys-dashboard/releases/tag/v0.5.2; the fix commit (5a7f04c153295d48319d35fdd53e30f50288cd37) adds magic-byte image detection for PNG/JPEG/GIF/WebP/AVIF on upload, an extension allowlist (isExtensionValidImage) enforced on both the /background/[slug] and /background/wallpaper routes so non-image files return an 'invalid image file' error instead of being served, a configurable BACKGROUND_IMG_MAX_UPLOAD_MB limit (default 10) on upload size, and a provider check that only serves the file when the user's background is static with source 'upload' (otherwise HTTP 403). Because the patched serving path now rejects any stored file whose extension is not an allowed image extension, previously uploaded .html or other non-image files stop being served after the upgrade, but administrators should still audit and delete any suspicious files already present in users' background image directories. The advisory's own guidance, for anyone unable to upgrade immediately, is to validate the uploaded background image's actual content type rather than trusting the extension and/or serve those files with a fixed, safe Content-Type or with Content-Disposition: attachment so browsers never treat them as executable HTML - note that serving them with a safe Content-Type does not by itself clean up already-uploaded files, and restricting the background-upload feature to trusted users only reduces exposure for the upload step while leaving any file already stored as a live risk. Full advisory: https://github.com/knrdl/hubleys-dashboard/security/advisories/GHSA-j2w9-hhqw-mrq8.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hubleys is a SvelteKit application, and the flaw sits at the intersection of two SvelteKit behaviours. The upload handler in src/routes/settings/utils.ts takes the uploaded File and writes it to userBackgroundImgFilePath(genRandomId() + path.extname(bgImg.name)) - the stored filename inherits the attacker's extension with no content-type or extension check - and the triggering action in src/routes/settings/background/+page.server.ts only requires locals.user to exist, the same identity every forward-auth user has, so this is not an admin-only feature. On the read side, src/routes/background/[slug]/+server.ts returns a manually constructed Response whose Content-Type comes from mrmime's lookup() applied to the requested slug, mapping <id>.html to text/html. SvelteKit only auto-attaches the CSP configured in svelte.config.js (script-src 'self', etc.) to responses rendered through its +page.svelte/+layout.svelte pipeline, so a +server.ts handler that builds its own Response serves attacker-controlled HTML with no CSP header at all. The root cause class is CWE-79 (cross-site scripting), with the advisory additionally classifying the unrestricted upload as CWE-434; the injected script runs in the app's own origin and can perform same-origin actions with the victim's privileges. The upstream fix adds magic-byte sniffing for PNG/JPEG/GIF/WebP/AVIF (src/lib/backgrounds/mimetype.ts), an extension allowlist enforced on the serving routes, a BACKGROUND_IMG_MAX_UPLOAD_MB (default 10) upload cap, and a provider gate so the endpoint only serves when the user's background is static with an uploaded image. The supplied CVSS 4.0 vector scores 7.1 with unchanged scope and VC:N, while the independent assessment uses CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, reflecting the required victim interaction and changed scope.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
PR:L because a valid user account is required; UI:R because a victim must open the crafted link; S:C and C:L/I:L because injected script runs in the victim's authenticated browser context.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Hubleys is a dashboard for self-hosted services. Prior to version 0.5.2, any authenticated (non-admin) Hubleys user can upload a file with an arbitrary extension as their dashboard "background image," and the server will later serve that file back with a Content-Type derived straight from the attacker's chosen extension - so uploading an .html file gets it served as text/html. Because the endpoint that serves it returns a manually-constructed response rather than going through SvelteKit's normal page-rendering pipeline, the app's configured Content-Security-Policy never gets attached to it either, so a script embedded in the upload runs unrestricted. This issue has been patched in version 0.5.2.
Technical POC Analysis
CWE-79 (stored cross-site scripting), with CWE-434 (unrestricted upload of dangerous file type) as the enabling weakness.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The Hubleys Dashboard application (version 0.5.1 and earlier) contains a stored cross-site scripting vulnerability that allows any authenticated non-admin user to upload malicious files and have them execute in the context of other users' sessions. This puts administrative and other privileged accounts at risk of session hijacking, potentially leading to unauthorized actions within the dashboard. Given the public proof-of-concept and the low complexity of exploitation, leadership should prioritize mitigation to protect sensitive data and maintain trust in the platform.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict access to the /background/<id> endpoint, block dangerous file extensions at upload, enforce Content-Type and CSP headers on the endpoint, and isolate user-uploaded content from the application origin.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-125718
NVD
CVE.org
EPSS
GitHub
Exploit-DB