Executive brief
shiyi-blog is an open-source blog platform with Vue frontend and Spring Boot backend. A stored cross-site scripting (XSS) vulnerability exists in the article search highlight feature. Content authors with article creation/modification permissions can inject malicious scripts into article titles or summaries; when visitors search for articles, these scripts execute in their browsers without requiring authentication.
Technical details
The vulnerability is a stored cross-site scripting (XSS) flaw in the Search component (blog-web/src/components/Search/index.vue). The highlightKeyword function inserts HTML mark tags into article titles and summaries without HTML entity encoding, then renders the result via Vue's v-html directive. Attackers with sys:article:add or sys:article:update permissions can inject arbitrary HTML/JavaScript through the title or summary fields when creating or modifying articles. The malicious payload is stored in the database (sys_article table) and executed when any unauthenticated visitor searches and views the published article. This enables session hijacking, credential theft, or malicious actions within the context of the affected page.
Affected products
- quequnlong shiyi-blog up to 1.2.1
Timeline
- 2026-09-13: disclosed: CVE-2026-90567 published on NVD
- 2026-08-01: other: Issue IK5SPD reported on Gitee