SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, renderPackageREADME in kernel/bazaar/readme.go renders a Bazaar package README from Markdown to HTML with the lute engine and SetSanitize(true). The lute sanitizer is an event-handler blocklist: allowAttr rejects only attribute names present in a fixed eventAttrs map copied from the w3schools legacy handler list. That map omits modern event handlers. onpointerover, onpointerdown, onauxclick, onbeforetoggle, onfocusin, onanimationstart, and ontransitionend are not in the list, so the sanitizer passes them through verbatim on any tag. The frontend assigns the rendered HTML to mdElement.innerHTML in app/src/config/bazaar.ts with no client-side DOMPurify on this path, into a normal element in the main document (no iframe, no sandbox). The kernel sends no Content-Security-Policy, X-Frame-Options, or X-Content-Type-Options header on any response, so an inline handler runs when its event fires. The README is rendered when an Administrator opens a package in Settings → Marketplace, after the one-time marketplace trust consent. Install is not required. Result: a third-party Bazaar package author runs JavaScript in the Administrator's authenticated SiYuan origin when the Administrator views and interacts with the package listing, and gains full control of the workspace. This vulnerability is fixed in 3.7.0.
CVE-2026-54070
This high-severity CVE scores 7.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 92% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.1
- EG Score
- 7.1(medium)
- EPSS
- 7.7%
- KEV
- Not listed
Published
June 24, 2026
Last Modified
June 26, 2026
Advisory Details (1)
Auto-updated Jun 25, 2026Stored XSS in Bazaar marketplace via package README event handlers · Advisory · siyuan-note/siyuan · GitHub
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w7cg-whh7-xp28Vendor Advisories for CVE-2026-54070(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 26× in last 7d / 61× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 16:42 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 04:56 UTCEG score recompute
- 2026-07-10 17:09 UTCEG score recompute
- 2026-07-10 05:20 UTCEG score recompute
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 17:33 UTCEG score recompute
- 2026-07-09 05:41 UTCEG score recompute
- 2026-07-08 17:55 UTCEG score recompute
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 06:03 UTCEG score recompute
- 2026-07-07 18:16 UTCEG score recompute
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 06:29 UTCEG score recompute
- 2026-07-06 18:42 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 06:55 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 19:10 UTCEG score recompute
Show 36 moreShow fewer
- 2026-07-05 07:23 UTCEG score recompute
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 19:34 UTCEG score recompute
- 2026-07-04 07:47 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 19:59 UTCEG score recompute
- 2026-07-03 08:13 UTCEG score recompute
- 2026-07-02 20:27 UTCEG score recompute
- 2026-07-02 08:41 UTCEG score recompute
- 2026-07-01 20:54 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 09:08 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 21:22 UTCEG score recompute
- 2026-06-30 09:35 UTCEG score recompute
- 2026-06-29 21:48 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 10:02 UTCEG score recompute
- 2026-06-28 22:16 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 10:29 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 22:44 UTCEG score recompute
- 2026-06-27 10:58 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 23:11 UTCEG score recompute
- 2026-06-26 11:25 UTCEG score recompute
- 2026-06-25 23:40 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 11:52 UTCEG score recompute
- 2026-06-25 00:06 UTCEG score recompute
- 2026-06-25 00:03 UTCNVD updatefirst tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-54070?
When was CVE-2026-54070 disclosed?
Is CVE-2026-54070 actively exploited?
What is the CVSS score of CVE-2026-54070?
How do I remediate CVE-2026-54070?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-54070
Is Your Infrastructure Affected by CVE-2026-54070?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.