{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-59855",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-07-07T15:41:53.606Z",
        "datePublished": "2026-07-09T22:19:42.755Z",
        "dateUpdated": "2026-07-14T01:24:09.004Z"
    },
    "containers": {
        "cna": {
            "title": "SiYuan: Store XSS To Rce via Asset.render",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-80",
                            "lang": "en",
                            "description": "CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "ACTIVE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 8.6,
                        "baseSeverity": "HIGH",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w3gq-5j72-36vc",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w3gq-5j72-36vc"
                },
                {
                    "name": "https://github.com/siyuan-note/siyuan/commit/efbe3a557720034782643e55c9e0282530cb6bbb",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/siyuan-note/siyuan/commit/efbe3a557720034782643e55c9e0282530cb6bbb"
                },
                {
                    "name": "https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1"
                }
            ],
            "affected": [
                {
                    "vendor": "siyuan-note",
                    "product": "siyuan",
                    "versions": [
                        {
                            "version": "< 3.7.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-07-09T22:19:42.755Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, Asset.render in app/src/asset/index.ts interpolates the unsanitized this.path value into HTML assigned to innerHTML, allowing a crafted asset link containing a double quote to break out of the src attribute, inject an event handler, and execute JavaScript that can run OS commands in the Electron renderer. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1."
                }
            ],
            "source": {
                "advisory": "GHSA-w3gq-5j72-36vc",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w3gq-5j72-36vc",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-14T01:23:41.617962Z",
                                "id": "CVE-2026-59855",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-14T01:24:09.004Z"
                }
            }
        ]
    }
}