Skip to main content

Ragent CVE-2026-129158

| EUVDEUVD-2026-125608 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-13 VulnCheck GHSA-9cpr-c5m9-prfr
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Upload script-bearing SVG to /knowledge-base/{kb-id}/docs/upload
  3. Exploit
    Victim opens /knowledge-base/docs/{docId}/file served as image/svg+xml
  4. Execution
    Script executes in application origin
  5. Impact
    Hijack victim session for account takeover

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 with permission to upload knowledge-base documents (PR:L) and succeeds only when the application serves uploaded SVG files inline with Content-Type image/svg+xml via /knowledge-base/docs/{docId}/file rather than forcing download or sanitizing - the SVG-as-image serving behavior is the enabling condition. Impact additionally requires victim interaction (UI:P): a second user must actually open the malicious document for the script to run in the application origin. These factors - mandatory authentication to upload and a required victim action - limit exploitation to insider or multi-user scenarios and prevent purely remote unauthenticated attack.

Impact

This is a moderate-severity stored XSS (CWE-79) with a CVSS 4.0 base of 5.1, and the signals are internally consistent rather than conflicting. The supplied 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) shows a network-reachable but authenticated (PR:L) attack that additionally depends on victim interaction (UI:P) - a victim must open the malicious document. No CISA KEV listing is present and no EPSS score was provided, so there is no evidence of widespread automated exploitation; the vuln.today decision label is 'this_month', indicating a routine-but-real remediation priority rather than an emergency. The references (a VulnCheck advisory, a public GitHub issue #187, and direct links to the vulnerable KnowledgeDocumentController source) corroborate the mechanism but are advisory/source-analysis artifacts, not confirmed working exploit code. Net: this is a legitimately actionable issue because the trigger is clearly described and the fix path is a code change, but the low impact ratings, authentication requirement, and need for victim interaction keep it out of drop-everything territory. EPSS and KEV data are absent - not low, simply not provided - so real-world exploitation likelihood cannot be quantified from the input.

Exploit ScenarioDerived

An authenticated low-privilege user uploads a knowledge-base document that is actually an SVG containing embedded script via POST /knowledge-base/{kb-id}/docs/upload. Because the file is later served inline as image/svg+xml at /knowledge-base/docs/{docId}/file, any other user who opens that document executes the attacker's script in the application origin, enabling session/account takeover. No confirmed working exploit code is provided, but a public VulnCheck advisory and GitHub issue describe the vulnerable upload and serving endpoints.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
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 – Nov 13, 2026

Stored cross-site scripting in Ragent 1.1.0 allows an authenticated user with knowledge-base document upload rights to plant a script-bearing SVG that runs in the application origin when another user opens it at /knowledge-base/docs/{docId}/file, potentially exposing the victim's session and enabling account takeover. The upload route is /knowledge-base/{kb-id}/docs/upload, and the flaw carries a CVSS 4.0 base score of 5.1 with a this_month priority label. No public exploit was identified at time of analysis.

RemediationAI

No vendor-released patch or fixed version was identified in the available data; track the vendor issue at https://github.com/nageoffer/ragent/issues/187 and the VulnCheck advisory at https://www.vulncheck.com/advisories/ragent-1.1.0-stored-xss-via-svg-knowledge-base-document-upload for an update. Until a fix is available, the complete mitigation is to stop serving uploaded SVGs inline: return uploaded documents with Content-Disposition: attachment and/or a non-rendering Content-Type such as application/octet-stream so the browser does not execute them in the application origin, at the cost of losing inline preview for those files. Also consider rejecting SVG uploads in favor of raster formats or sanitizing SVG content on upload, which breaks legitimate vector-document workflows, and restrict knowledge-base upload permission to trusted roles, which reduces but does not eliminate exposure from compromised or malicious authorized accounts. Serving user-uploaded content from a separate origin or domain would also isolate script execution but requires infrastructure changes.

Affected VersionsENISA

ragent 1.1.0

Affected Packages

euvd ragent 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

Ragent is a knowledge-base and document management application, and the flaw is a CWE-79 stored cross-site scripting issue rooted in KnowledgeDocumentController. The upload handler at lines 71-82 accepts documents including SVG files, and the file-serving handler at lines 187-198 returns the stored document inline as image/svg+xml rather than as an attachment. SVG is an XML image format that can carry script elements and event handlers; because the file is served from the application origin, the browser executes embedded script in that origin when a victim navigates to the file URL. The CVSS 4.0 vector reflects network attack, low complexity, PR:L because knowledge-base upload permission is required, UI:P because a victim must open the malicious document, and S:C because the script runs with the application origin's privileges. The independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) matches the same prerequisites and impact level.

Know when Ragent 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 (VulnCheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Authenticated uploader (PR:L) and a victim who must open the file (UI:R); stored XSS executing in the app origin crosses into the victim's browser context (S:C) with limited C/I and no availability 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:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

ragent 1.1.0 contains a stored cross-site scripting vulnerability that allows authenticated users to inject scripts by uploading SVG knowledge-base documents served inline as image/svg+xml. Attackers can upload a script-bearing SVG via /knowledge-base/{kb-id}/docs/upload so that victims opening /knowledge-base/docs/{docId}/file execute it in the application origin, enabling account takeover.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Rare
obscure open-source RAG project (nageoffer/ragent), negligible production footprint
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

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