{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.1.0"
                  },
                  {
                    "last_affected": "1.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          "events": [
            {
              "introduced": "f64de341452c8998ebf64cd264e60ccad6a31631"
            },
            {
              "last_affected": "f64de341452c8998ebf64cd264e60ccad6a31631"
            }
          ],
          "repo": "https://github.com/nageoffer/ragent",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.1.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129158.json"
  },
  "details": "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.",
  "id": "CVE-2026-129158",
  "modified": "2026-11-21T10:45:16.145288640Z",
  "published": "2026-11-13T17:21:59.004Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129158.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129158"
    },
    {
      "type": "ADVISORY",
      "url": "https://vul.yulun.ac.cn/20261104/ragent/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ragent-1.1.0-stored-xss-via-svg-knowledge-base-document-upload"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/nageoffer/ragent/issues/187"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nageoffer/ragent"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/nageoffer/ragent/blob/f64de341452c8998ebf64cd264e60ccad6a31631/bootstrap/src/main/java/com/nageoffer/ai/ragent/knowledge/controller/KnowledgeDocumentController.java#L187-L198"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/nageoffer/ragent/blob/f64de341452c8998ebf64cd264e60ccad6a31631/bootstrap/src/main/java/com/nageoffer/ai/ragent/knowledge/controller/KnowledgeDocumentController.java#L71-L82"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ragent 1.1.0 Stored XSS via SVG Knowledge-Base Document Upload"
}