View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
20269 | Bug reports | Security | public | 2025-09-19 08:40 | 2025-09-19 10:30 |
Reporter | Mazi | Assigned To | |||
Priority | none | Severity | block | ||
Status | new | Resolution | open | ||
Product Version | 6.6.x | ||||
Summary | 20269: Cross-site Scripting (XSS) affecting bootstrap-switch package | ||||
Description | According to a recent pentest, the bootstrap-switch package (version 3.3.2 located at h.../tmp/assets/e4430015/js/bootstrap-switch.min.js) has an XSS vulnerability. Can we replace/remove this outdated library? The organisation which ran the pentest has a strict policy. They can only use Limesurvey once old/outdated libraries with security issues have been adjusted. | ||||
Steps To Reproduce | Steps to reproduceCheck Limesurvey for vulnerabilities/outdated libraries. Expected resultIn a perfect world everything would be up to date and there would be no issues. Actual resultOutdated library with vulnerability. | ||||
Tags | No tags attached. | ||||
Bug heat | 254 | ||||
Complete LimeSurvey version number (& build) | 6.15.2 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | x | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | x | ||||
@DenisChenu, any thoughts on how to best deal with this? |
|
Globally : i don't understand fixing a JS script where user must set a specific JS . If he can set JS : he can just add XSS how he want. Still a good idea to move to https://getbootstrap.com/docs/5.0/forms/checks-radios/#switches and remove bootstrapSwitch |
|
@DenisChenu: I second this. This is the reason why I hate these automated pentests. They often show issues which are no real use case at all. But if the company has a strict policy, they may not be allowed to use Limesurvey due to such questionable findings. |
|
My real opinion :
Simple and clean, 1. No need JS, 2. A11Y proof, 3. Stability proof, There are 4. Can use helper of browser, 5. Can use specific theme by user choice, except we force some update here (not always a good idea) |
|
Bootstrap 5/6 supports .form-switch which should be a possible alternative to get rid of this library. |
|
Or just a checkbox ;) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2025-09-19 08:40 | Mazi | New Issue | |
2025-09-19 08:41 | Mazi | Note Added: 83444 | |
2025-09-19 08:41 | Mazi | Bug heat | 250 => 252 |
2025-09-19 09:09 | DenisChenu | Note Added: 83445 | |
2025-09-19 09:09 | DenisChenu | Bug heat | 252 => 254 |
2025-09-19 09:09 | DenisChenu | Note Edited: 83445 | |
2025-09-19 09:10 | DenisChenu | Note Edited: 83445 | |
2025-09-19 09:20 | Mazi | Note Added: 83446 | |
2025-09-19 09:37 | DenisChenu | Note Added: 83447 | |
2025-09-19 09:37 | DenisChenu | Note Edited: 83447 | |
2025-09-19 10:26 | Mazi | Note Added: 83450 | |
2025-09-19 10:30 | DenisChenu | Note Added: 83451 |