Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Huginn instance
-
DeliveryConnect OAuth account with crafted display name
-
ExploitMark malicious service global
-
ExecutionVictim attaches service to Agent
-
PersistJavaScript executes on Agent page view
-
ImpactRead Credentials and invoke admin actions
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 an authenticated account on the Huginn instance (PR:L) with the ability to connect an OAuth service and share it globally, plus victim interaction (UI:P): the victim must attach the attacker's globally shared service to an Agent and view that Agent's page for the stored payload in the OAuth display name to fire. Impact is scoped to whatever the victim can access - Credentials, Agents, and Events - and escalates to administrator actions (including user-switching) only if the victim is an administrator; the user-switching endpoint still requires administrator authentication and is not reachable by unauthenticated users. Key limiting factors: the instance must permit untrusted users to register and share services (the advisory flags such installations as higher risk), a second distinct user must act on the malicious service, and private (non-shared) services can only affect their own owner. The attack does not depend on reading the session cookie. The only complete fix is upgrading to v2026.11.05; the vendor's interim workaround is to avoid attaching and to remove services owned by untrusted users, which reduces but does not eliminate exposure. |
| Impact | This is a genuine but moderate-priority issue, not a drop-everything emergency, and the signals are internally consistent. The CVSS 4.0 base score is 5.1 (medium) with vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N: network-reachable but requiring existing low-privilege authentication (PR:L) and passive victim interaction (UI:P), with no impact on the vulnerable system itself and only low confidentiality/integrity impact on a subsequent system (the victim's browser session). That subsequent-system mapping correctly captures a stored XSS that runs in another user's session rather than compromising the server directly. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the medium severity. No EPSS score and no CISA KEV entry are present in the input, so there is no quantitative exploitation-probability or active-exploitation signal; absence of these is not evidence of safety but does argue against widespread automated exploitation. A public PoC reference exists (a hackmd write-up by the reporter and a VulnCheck advisory); it is not verified as working exploit code, so treat it as proof-of-concept detail rather than a confirmed weaponized exploit. The realistic risk is concentrated in multi-user Huginn installations that allow untrusted users to register and share OAuth services globally; single-user or trusted-team deployments face far lower exposure (private services can only self-affect their owner). |
| Exploit ScenarioDerived | An authenticated low-privilege user on a shared Huginn instance connects an OAuth account whose display name (nickname, name, or email) contains a JavaScript payload, then marks that service as global. When another user - potentially an administrator - attaches the shared service to an Agent and opens the Agent page, the unescaped name executes script in the victim's session, allowing it to read Credentials, manipulate Agents and Events, and, if the victim is an admin, invoke administrator actions such as user-switching. A public PoC reference exists but is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Stored cross-site scripting in Huginn before 2026.11.05 allows an authenticated user who can connect an OAuth account and share the resulting service globally to plant JavaScript in the service display name, which then executes in the session of any other user who attaches that service to an Agent and views the Agent page. The injected script can read the victim's Credentials and manipulate their Agents and Events, and can invoke administrator actions such as switching users when the victim holds admin rights, although the user-switching endpoint itself still requires administrator authentication. Exploitation requires victim interaction and an instance that permits untrusted users to register and share services; the vendor-released patch is v2026.11.05, and no public exploit identified at time of analysis.
RemediationAI
Upgrade to Huginn v2026.11.05 or later (release tag https://github.com/huginn/huginn/releases/tag/v2026.11.05, commit 92229a5e7343bfffc740d31e42b9654b212b678b as documented in GHSA-rjw9-xx87-f2ww); the fix escapes service display names at render time, so existing stored names are neutralized with no database migration or name cleanup required, and the same release also sanitizes Agent descriptions after Markdown rendering and moves user switching to CSRF-protected POST requests. Until the update is installed, the vendor's workaround is to avoid attaching services owned by untrusted users and to remove such services from existing Agents, which reduces cross-user exposure but does not fix the underlying rendering bug - upgrading is the only complete fix. Exposure is highest on instances that allow untrusted users to register and share services globally, since private services can only affect their own owner.
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
The flaw is CWE-79 (improper neutralization of input during web page generation) in Huginn's Rails view helper layer. In app/helpers/application_helper.rb the service_label helper built a label from the provider icon and the OAuth service display name by joining the fragments and calling .html_safe on the result, which marked the attacker-controlled service name (derived from an OAuth account nickname, name or email) as trusted markup so ERB never escaped it. Because the name string is stored with the Service record, any page render that displays that service label - notably Agent show pages where a user has attached the service - emits the payload. The upstream fix in commit 92229a5e7343bfffc740d31e42b9654b212b678b replaces the .join.html_safe pattern in both omniauth_provider_name and service_label with safe_join, which escapes each element while keeping the provider icon markup intact; a helper spec asserts the label text equals the raw name and that no img element survives. The same release hardens a second rendering path: markdown_class_attributes now runs Kramdown output through Rails::HTML5::SafeListSanitizer with an allowlist that adds table elements and the class attribute, preventing HTML injection through Agent options interpolated into Markdown descriptions (e.g. a Webhook Agent secret or payload_path). It also changes user switching and returning to the original administrator to require POST requests with valid CSRF tokens, while the advisory notes CSRF protection alone would not prevent same-origin XSS. The fix applies at render time, so previously stored malicious names are neutralized without a database migration or name cleanup. CPE cpe:2.3:a:huginn:huginn:*:*:*:*:*:*:*:* maps the entire pre-2026.11.05 range, and EUVD lists the affected span as 0 through versions below 2026.11.05.
Know when Huginn 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Authenticated attacker injects the payload (PR:L) but a different victim must view the Agent page (UI:R); script runs in the victim's session, so scope changes (S:C) with low confidentiality/integrity impact and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Huginn before 2026.11.05 contains a stored cross-site scripting vulnerability in the service_label helper that marks unescaped OAuth service display names as html_safe. Authenticated attackers can connect an OAuth account with a crafted nickname, name or email and share it globally, executing JavaScript when victims attach it to Agents and view them, exposing Credentials, Agents and Events, and admin actions if the victim is an administrator.
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.
JqAgent in Huginn before v2026.11.09 leaks the entire server process environment to authenticated users, exposing APP_SE
Server-side request forgery in Huginn lets an authenticated user with permission to create or configure agents route out
EUVD-2026-117539
GHSA-wjrx-rm4h-jrhj
NVD
CVE.org
EPSS
Exploit-DB