SecurityContext

CVE-2026-129158: Ragent - Stored XSS

  • Cve: CVE-2026-129158
  • Name: Ragent - Stored XSS
  • Description: 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.
  • Impact: Attackers can execute arbitrary scripts in victims' browsers, potentially leading to account takeover.
  • Remediation: Update to the latest version of Ragent.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated to upload SVG documents
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00303
  • Epss percentile: 0.23467
  • Assignee: [email protected]
  • Published at: 2026-11-13T18:17:40Z
  • Age in days: 11
  • Modified at: 2026-11-18T13:17:26Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-129158
  • Nvd status: received
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/nageoffer/ragent/blob/f64de341452c8998ebf64cd264e60ccad6a31631/bootstrap/src/main/java/com/nageoffer/ai/ragent/knowledge/controller/KnowledgeDocumentController.java#L187-L198
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/issues/187
https://vul.yulun.ac.cn/20261104/ragent/
https://www.vulncheck.com/advisories/ragent-1.1.0-stored-xss-via-svg-knowledge-base-document-upload

Projects

RepositoryLink kindsIndexedUrl
nageoffer/ragentissuesyes/v1/repositories/nageoffer/ragent

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts