Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as low-privilege registered user
-
DeliverySubmit image generation prompt containing XSS payload
-
ExploitPayload stored in server-side generation history
-
InstallVictim user navigates to studio history panel
-
C2renderHistory sets thumb.innerHTML with unsanitized prompt string
-
ExecuteInjected script executes in victim browser context
-
ImpactSession data exfiltrated or DOM manipulated
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 valid authenticated account on the target Open-Generative-AI instance with at least low-privilege access to the image or media generation features, so that a malicious entry can be written to the generation history (CVSS PR:L); (2) a victim user who subsequently navigates to the history panel where the malicious entry is rendered via innerHTML (CVSS UI:P - passive user interaction). The instance must be running a version at or below 1.0.11 or 2.0.0. Limiting factors: the attacker must hold a registered account, ruling out unauthenticated exploitation; the XSS fires only through the history thumbnail rendering path and not through arbitrary input fields; confidentiality and availability impacts at the server/application level are absent (VC:N/VA:N per the CVSS 4.0 vector); scope change to the victim browser (session credential theft, DOM manipulation) is the primary concern. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) with vector AV:N/AC:L/AT:N/PR:L/UI:P is a reasonable representation of realistic risk: exploitation requires a valid authenticated account and a victim who passively views the history panel, meaningfully constraining the attacker pool. Even a mid-sized internal deployment team at a location like swidnica running this tool behind an authenticated intranet would face minimal external exposure, though insider threat from any registered account remains relevant. No EPSS score was provided in the input data, no CISA KEV listing exists, and no public exploit code has been identified - these signals collectively support a low-urgency posture for most operators. The flaw is technically trivial given the unguarded innerHTML pattern, but real-world impact is bounded by the niche footprint of the product, the authenticated trigger, and the stored-XSS execution path requiring victim interaction. One notable data quality concern: the input metadata flags the patch as 'Available from vendor,' but the CVE description explicitly states the pull request 'awaits acceptance,' meaning a released patched version is not confirmed - operators should not assume the issue is remediated until the PR is merged and a tagged release is cut. |
| Exploit ScenarioDerived | An authenticated user submits a crafted image generation prompt containing a payload such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 13, 2026
Stored cross-site scripting in Open-Generative-AI's studio history components (ImageStudio.js, CinemaStudio.js, LipSyncStudio.js, VideoStudio.js) allows an authenticated low-privileged user to inject arbitrary HTML and JavaScript into the history panel by crafting a malicious generation prompt or URL, which then executes in any victim's browser session when the history panel is viewed. Versions up to 1.0.11 and 2.0.0 are affected per CPE and VulDB reporting. No public exploit has been identified at time of analysis, and no KEV listing exists, but the technique is trivially reproducible given the unguarded innerHTML interpolation pattern visible in the patch diff.
RemediationAI
The upstream fix is proposed in GitHub PR #344 (https://github.com/Anil-matcha/Open-Generative-AI/pull/344), which replaces innerHTML template-literal rendering across all four affected studio components with a safe historyDom.mjs DOM-construction helper; however, this PR had not been merged at the time of CVE disclosure, so an officially released patched version is not independently confirmed. Operators should monitor the repository for PR merge and a tagged release beyond version 2.0.0 before considering the issue closed. As an interim compensating control, restricting application access to fully trusted authenticated users via network-level ACLs or authentication gating limits the attacker pool to insiders. Deploying a Content Security Policy header that disallows unsafe-inline scripts (default-src 'self'; script-src 'self') would significantly degrade XSS payload execution even if the injection point is triggered; note that CSP alone does not prevent HTML manipulation and may not block all XSS vectors. Self-hosting operators should treat the unmerged PR diff as the authoritative description of the fix and may apply it manually.
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
Open-Generative-AI (CPE: cpe:2.3:a:anil-matcha:open-generative-ai:*:*:*:*:*:*:*:*) is a JavaScript web application providing generative AI studio interfaces for image, video, cinema, and lipsync media generation. The root cause (CWE-79, Improper Neutralization of Input During Web Page Generation) is the use of backtick template literals with direct string interpolation of user-supplied history data into element.innerHTML. Specifically, the renderHistory logic in ImageStudio.js constructs thumbnail markup as innerHTML = <img src='${entry.url}' alt='${entry.prompt?.substring(0,30)}'...>, where neither entry.url nor entry.prompt is sanitized or escaped before insertion. The fix in PR #344 introduces a historyDom.mjs helper module that replaces all innerHTML assignments with programmatic DOM construction via document.createElement, setAttribute, and appendChild, eliminating the injection surface entirely. The same pattern was concurrently fixed in CinemaStudio.js, LipSyncStudio.js, and VideoStudio.js.
Know when Open Generative Ai 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:L/VA:N/SC:N/SI:N/SA:N
Stored XSS requires authenticated attacker (PR:L) and victim viewing history (UI:R); scope changes to victim browser (S:C) with low confidentiality and integrity impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A vulnerability was determined in Anil-matcha Open-Generative-AI up to 1.0.11/2.0.0. Affected by this vulnerability is the function renderHistory of the file ImageStudio.js of the component Studio Components. This manipulation causes cross site scripting. The attack may be initiated remotely. The pull request to fix this issue awaits acceptance.
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-77131
GHSA-4983-r678-hfh4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB