An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lock: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w7cg-whh7-xp28
Daniela9b9a4386711
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.tsindex 4156a0c0c6..094e164c6c 100644--- a/app/src/config/bazaar.ts+++ b/app/src/config/bazaar.ts@@ -638,7 +638,7 @@ type="checkbox"></div>`;if (downloaded && !isUpdateItem) {const mdElement = readmeElement.querySelector(".item__readme");- mdElement.innerHTML = data.preferredReadme || "";+ mdElement.innerHTML = window.DOMPurify.sanitize(data.preferredReadme || "");highlightRender(mdElement);} else {fetchPost("/api/bazaar/getBazaarPackageREADME", {@@ -647,7 +647,7 @@ type="checkbox">packageType: bazaarType}, response => {const mdElement = readmeElement.querySelector(".item__readme");- mdElement.innerHTML = response.data.html;+ mdElement.innerHTML = window.DOMPurify.sanitize(response.data.html);highlightRender(mdElement);});}