CVE-2026-54070
Last modified
CVE-2026-54070 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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). EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54070?
How severe is CVE-2026-54070?
How do I fix CVE-2026-54070?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54063Excelize is a Go language library for reading and writing Mi…7.5
- CVE-2026-54066SiYuan is an open-source personal knowledge management syste…7.5
- CVE-2026-54067SiYuan is an open-source personal knowledge management syste…9.9
- CVE-2026-54068SiYuan is an open-source personal knowledge management syste…5.9
- CVE-2026-54069SiYuan is an open-source personal knowledge management syste…9.2
- CVE-2026-5407SMB2 protocol dissector infinite loop in Wireshark 4.6.0 to …5.5
- CVE-2026-54074Tina is a headless content management system. @tinacms/cli v…7.8
- CVE-2026-54078veraPDF validation model is an implementation of the veraPDF…8.7
- CVE-2026-54079veraPDF validation provides PDF/A and PDF/UA validation, fea…8.7
- CVE-2026-5408BT-DHT protocol dissector crash in Wireshark 4.6.0 to 4.6.4 …5.5
- CVE-2026-54080veraPDF PDF parser is a PDF parser for veraPDF. Prior to 1.3…6.9
- CVE-2026-54081veraPDF PDF parser is a PDF parser for veraPDF. Prior to 1.3…6.9
Are you affected by CVE-2026-54070?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
