Wander-Chu SpringBoot-Blog Cross-Site Scripting Vulnerability in Article Modification Function

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Wander-Chu SpringBoot-Blog version 1.0. The issue arises in the 'modifyArticle' function within the 'PageController.java' file, part of the Blog Article Handler component. The vulnerability allows for the injection of malicious scripts through the 'content' and 'slug' arguments, which are not properly sanitized before being stored. This flaw can be exploited remotely, leading to stored XSS, where injected scripts are executed in the context of the user.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user.

Reproduction

To reproduce this vulnerability, log into the application and navigate to the article modification page. Once there, enter a script tag into the 'content' and 'slug' fields. After submitting the form, the injected script will be executed when the article is viewed.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
6.6
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.