vendor:
Library System in PHP
by:
Akash Rajendra Patil
8.8
CVSS
HIGH
Stored Cross-Site Scripting (XSS)
79
CWE
Product Name: Library System in PHP
Affected Version From: V 1.0
Affected Version To: V 1.0
Patch Exists: NO
Related CWE:
CPE: a:yahoobaba:library_system_in_php
Platforms Tested: WAMPP
2021
Library System in PHP 1.0 – ‘publisher name’ Stored Cross-Site Scripting (XSS)
Library System in PHP V1.0 is vulnerable to stored cross site scripting because of insufficient user supplied data sanitisation. An attacker can exploit this vulnerability by entering a malicious payload in the publisher field and clicking on Save. The payload will be stored in the database and executed when the page is loaded.
Mitigation:
Input validation should be used to ensure that user supplied data is properly sanitized before being stored in the database.