Skip to content
Heist/ feed
Back to feed
Medium

Kuno is Vulnerable to Stored XSS Attack via SVG File Upload

Type: advisorySources: OSV

KUNO CMS is a fully deployable full-stack blog application. Versions 1.3.13 and below contain validation flaws in its file upload functionality that can be exploited for stored XSS. The upload endpoint only validates file types based on Content-Type headers, lacks file content analysis and extension whitelist restrictions, allowing attackers to upload SVG files containing malicious scripts (disguised as images). When users access the uploaded resource pages, arbitrary JavaScript executes in their browsers. This issue is fixed in version 1.3.14.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-61681
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 05:03 UTC · Revision 1

Source evidence

Kuno is Vulnerable to Stored XSS Attack via SVG File Upload

core-osv · Original source

Published 3 Oct 2025, 21:46 UTC

KUNO CMS is a fully deployable full-stack blog application. Versions 1.3.13 and below contain validation flaws in its file upload functionality that can be exploited for stored XSS. The upload endpoint only validates file types based on Content-Type headers, lacks file content analysis and extension whitelist restrictions, allowing attackers to upload SVG files containing malicious scripts (disguised as images). When users access the uploaded resource pages, arbitrary JavaScript executes in their browsers. This issue is fixed in version 1.3.14.

osv:CVE-2025-61681
Complete source record
{
  "id": "602a27d4c09161475ed9f3fb9af668f70457f6c5af8a4a94407d8f67e97b1c02",
  "url": "https://osv.dev/vulnerability/CVE-2025-61681",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Kuno is Vulnerable to Stored XSS Attack via SVG File Upload",
    "summary": "KUNO CMS is a fully deployable full-stack blog application. Versions 1.3.13 and below contain validation flaws in its file upload functionality that can be exploited for stored XSS. The upload endpoint only validates file types based on Content-Type headers, lacks file content analysis and extension whitelist restrictions, allowing attackers to upload SVG files containing malicious scripts (disguised as images). When users access the uploaded resource pages, arbitrary JavaScript executes in their browsers. This issue is fixed in version 1.3.14.",
    "evidence": "osv:CVE-2025-61681",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-61681",
      "aliases": [
        "CVE-2025-61681",
        "GHSA-q3w2-2vqp-gx3r"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/xuemian168/kuno",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ec6c7326b7695696be5e6eaf8970150300d8d83e"
                },
                {
                  "fixed": "fc486b5c9091b607f82bf7b354d18f25204f7dc6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.3.14"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fc486b5c9091b607f82bf7b354d18f25204f7dc6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ec6c7326b7695696be5e6eaf8970150300d8d83e"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.3.14"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.3.13",
            "v1.3.12",
            "v1.3.11",
            "v1.3.9",
            "v1.3.8",
            "v1.3.7",
            "v1.3.6",
            "v1.3.5",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.32",
            "v1.2.31",
            "v1.2.29",
            "v1.2.28",
            "v1.2.27",
            "v1.2.26",
            "v1.2.25",
            "v1.2.24",
            "v1.2.23",
            "v1.2.22",
            "v1.2.21",
            "v1.2.19",
            "v1.2.18",
            "v1.2.17",
            "v1.2.16",
            "v1.2.15",
            "v1.2.14",
            "v1.2.13",
            "v1.2.12",
            "v1.2.11",
            "v1.2.9",
            "v1.2.7",
            "v1.2.6",
            "v1.2.5",
            "v1.2.4",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.9",
            "v1.1.8",
            "v1.1.6",
            "v1.1.5",
            "v1.1.3",
            "v1.1.0",
            "v1.0.8",
            "v1.0.7",
            "v1.0.6",
            "v1.0.5",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-61681.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.380909766Z",
      "provider": "osv",
      "references": [
        "https://github.com/xuemian168/kuno/releases/tag/v1.3.14",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61681.json",
        "https://github.com/xuemian168/kuno/security/advisories/GHSA-q3w2-2vqp-gx3r",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-61681",
        "https://github.com/xuemian168/kuno/commit/fc486b5c9091b607f82bf7b354d18f25204f7dc6"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-434",
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61681.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-61681",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500431,
  "published_at": "2025-10-03T21:46:59.313+00:00"
}