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.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
