Product: php-calendar
Download: https://github.com/jasonjoh/php-calendar
Vunlerable Version: latest version
Tested Version: latest version
Author: ADLab of Venustech
Advisory Details:
A Cross-Site Scripting (XSS) was discovered in“php-calendar latest version”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in the “errorMsg” HTTP GET parameter passed to the “php-calendar-master/error.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Poc: http://localhost/.../php-calendar-master/error.php?errorMsg=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
The text was updated successfully, but these errors were encountered:
Product: php-calendar
Download: https://github.com/jasonjoh/php-calendar
Vunlerable Version: latest version
Tested Version: latest version
Author: ADLab of Venustech
Advisory Details:
A Cross-Site Scripting (XSS) was discovered in“php-calendar latest version”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in the “errorMsg” HTTP GET parameter passed to the “php-calendar-master/error.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
http://localhost/.../php-calendar-master/error.php?errorMsg=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22
The text was updated successfully, but these errors were encountered: