Stored cross-site scripting in ragent via SVG knowledge-base uploads
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
nageoffer ragent 1.1.0 contains a stored cross-site scripting flaw (CWE-79) in how it serves uploaded knowledge-base documents. The application serves SVG files inline as image/svg+xml, so scripts in an uploaded SVG run in the application origin. An authenticated user with low privileges can upload such a file, and when a victim opens it, the attacker can take over the victim's account.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for ragent.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Timeline
- 2026-11-13 Threatist record created from CVE-2026-129158
- 2026-11-13 Alias added: GHSA-9cpr-c5m9-prfr
References
Advisory 1
Other 3
- https://github.com/nageoffer/ragent/issues/187
- https://github.com/nageoffer/ragent/blob/f64de341452c8998ebf64cd264e60ccad6a31631/bootstrap/src/main/java/com/nageoffer/ai/ragent/knowledge/controller/KnowledgeDocumentController.java#L71-L82
- https://github.com/nageoffer/ragent/blob/f64de341452c8998ebf64cd264e60ccad6a31631/bootstrap/src/main/java/com/nageoffer/ai/ragent/knowledge/controller/KnowledgeDocumentController.java#L187-L198
More nageoffer vulnerabilities
- TI-2026-91702 Missing authorization in ragent exposes other users' RAG traces CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-129158 · CVE Program
- CVE-2026-129158 · NVD
- FIRST EPSS
- GHSA-9cpr-c5m9-prfr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences