View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 19563 | Bug reports | Survey editing | public | 2024-05-13 15:48 | 2026-10-26 22:56 |
| Reporter | ritapas | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 6.5.x | ||||
| Summary | 19563: HTML entity & is shown as & in subquestions when XSS is enabled | ||||
| Description | if you design a subquestion with entity & in subquestions when XSS is enabled, it is shown as & | ||||
| Steps To Reproduce | Steps to reproduceenable xss Expected result"&" is shown Actual result"&" is shown | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 14 | ||||
| Complete LimeSurvey version number (& build) | 6.5.4 (build 240422) | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | Database driver pgsql Database driver version 13.5 | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | PHP version 7.4.33 | ||||
| Git branch / Pull Request URL | |||||
|
This also happens in LS5 |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=41095 |
|
|
LimeSurvey: master 64a502ad 2026-10-26 22:55 Details Diff |
Fixed issue 19563: An "&" in dropdown answer options and in input placeholders was shown as "&" when entered with the HTML editor or with the XSS filter enabled Dev flatString() no longer double-encodes existing HTML entities when encoding (list/array/dual-scale/list-with-comment dropdown options, placeholders) |
Affected Issues 19563 |
|
| mod - application/core/LS_Twig_Extension.php | Diff File | ||
| add - tests/unit/LSTwigExtensionFlatStringTest.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-05-13 15:48 | ritapas | New Issue | |
| 2024-05-13 15:48 | ritapas | File Added: 0.edit1stSubq.PNG | |
| 2024-05-13 15:48 | ritapas | File Added: 1.edit3rdSubq.PNG | |
| 2024-05-13 15:48 | ritapas | File Added: 2.allSubqst.PNG | |
| 2024-05-13 15:48 | ritapas | File Added: 3.preview.PNG | |
| 2024-05-14 10:38 | ritapas | Issue Monitored: ritapas | |
| 2024-05-14 10:38 | ritapas | Bug heat | 0 => 2 |
| 2024-05-14 10:58 | ritapas | Note Added: 80101 | |
| 2024-05-14 10:58 | ritapas | Bug heat | 2 => 4 |
| 2024-05-14 11:00 | seccanj | Issue Monitored: seccanj | |
| 2024-05-14 11:00 | seccanj | Bug heat | 4 => 12 |
| 2026-10-26 22:56 | c_schmitz | Changeset attached | => LimeSurvey master 64a502ad |
| 2026-10-26 22:56 | c_schmitz | Note Added: 86886 | |
| 2026-10-26 22:56 | c_schmitz | Assigned To | => c_schmitz |
| 2026-10-26 22:56 | c_schmitz | Status | new => resolved |
| 2026-10-26 22:56 | c_schmitz | Resolution | open => fixed |
| 2026-10-26 22:56 | c_schmitz | Bug heat | 12 => 14 |