View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
16163Bug reportsSurvey editingpublic2021-02-03 19:35
Reporterryanmottau Assigned Tocdorin  
PrioritynoneSeveritypartial_block 
Status closedResolutionno change required 
Product Version3.22.12 
Summary16163: HTML attributes/code stripped out when other (Non superuser) users edit
Description

When adding images in any of the text inputs, we typically add a max-width: 100%; style attribute to make sure they adapt to small screens. If one of my other users edits this question (or text element) this style attribute disappears. We are also seeing other code disappear from text elements in the same way.

Steps To Reproduce

Create a survey
Add an image in Welcome text
Add an image with style: max-width: 100%; (either in the image insert from the toolbar or directly in HTML)
Log out
Log in as an other user (not a superuser)
Edit text in Welcome, save
Style Attribute disappears.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)Version 3.22.12
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionversion 360
Server OS (if known)
Webserver software & version (if known)
PHP VersionUsing SaaS versions

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2020-04-21 09:16

developer   ~57283

Due to XSS settings …
Hard to totally fix, maybe we can keep style ?

Issue History

Date Modified Username Field Change
2020-04-20 22:31 ryanmottau New Issue
2020-04-21 09:16 DenisChenu Note Added: 57283
2021-02-03 19:35 cdorin Assigned To => cdorin
2021-02-03 19:35 cdorin Status new => closed
2021-02-03 19:35 cdorin Resolution open => no change required