- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Input data validation
- toddld
- Topic Author
- Offline
- New Member
Less
More
1 year 1 week ago #243220
by toddld
Input data validation was created by toddld
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.4.11+221114
Own server YES
Survey theme/template: Fruity
==================
How is user-supplied data validated, filtered, or sanitized by the application?
Your LimeSurvey version: 5.4.11+221114
Own server YES
Survey theme/template: Fruity
==================
How is user-supplied data validated, filtered, or sanitized by the application?
Please Log in to join the conversation.
- Jameswalter
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 1
1 year 5 days ago #243345
by Jameswalter
Replied by Jameswalter on topic Input data validation
LimeSurvey is an open-source survey software that allows users to create and conduct online surveys. When users submit data through LimeSurvey, the application follows certain steps to validate, filter, and sanitize the data. Here are some ways LimeSurvey validates and filters user-supplied data:
Data Type Validation: LimeSurvey validates data by ensuring that the data submitted is of the correct data type. For example, if a user is asked to submit a numerical value, LimeSurvey will ensure that the value submitted is a number and not a string.
Range Validation: LimeSurvey can validate data by checking whether the submitted data falls within a specified range. For example, if a user is asked to enter their age, LimeSurvey can validate that the age falls within a specific range, such as 18 to 99 years old.
Required Field Validation: LimeSurvey can also validate data by ensuring that all required fields are filled out before submitting a form. This helps to ensure that important data is not missing.
Data Type Validation: LimeSurvey validates data by ensuring that the data submitted is of the correct data type. For example, if a user is asked to submit a numerical value, LimeSurvey will ensure that the value submitted is a number and not a string.
Range Validation: LimeSurvey can validate data by checking whether the submitted data falls within a specified range. For example, if a user is asked to enter their age, LimeSurvey can validate that the age falls within a specific range, such as 18 to 99 years old.
Required Field Validation: LimeSurvey can also validate data by ensuring that all required fields are filled out before submitting a form. This helps to ensure that important data is not missing.
The following user(s) said Thank You: toddld
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13714
- Thank you received: 2502
1 year 4 days ago #243372
by DenisChenu
You mean data sent by participant ?
If you set validation option : it was validated.
Else !: we don't sanitize or anything else the data. We encode it to enter in database, end show it encoded in admin view.
participant can enter <script>alert('XSS');</script> : we ave this and show this (encoded)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Input data validation
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.4.11+221114
Own server YES
Survey theme/template: Fruity
==================
How is user-supplied data validated, filtered, or sanitized by the application?
You mean data sent by participant ?
If you set validation option : it was validated.
Else !: we don't sanitize or anything else the data. We encode it to enter in database, end show it encoded in admin view.
participant can enter <script>alert('XSS');</script> : we ave this and show this (encoded)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: toddld
Please Log in to join the conversation.