Skip to content

Commit

Permalink
Fixed issue [security] #16019: Stored Cross Site Scripting Vulnerabil…
Browse files Browse the repository at this point in the history
…ity in survey groups. (Thanks to Matthew Aberegg and Michael Burkey)
  • Loading branch information
ptelu committed Mar 23, 2020
1 parent 2c60503 commit 6691895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/models/SurveysGroups.php
Expand Up @@ -41,6 +41,7 @@ public function rules()
array('name', 'match', 'pattern'=> '/^[A-Za-z0-9_\.]+$/u','message'=> gT('Group name can contain only alphanumeric character, underscore or dot.')),
array('title', 'length', 'max'=>100),
array('description, created, modified', 'safe'),
array('title, name, description', 'LSYii_Validators'),
// The following rule is used by search().
// @todo Please remove those attributes that should not be searched.
array('gsid, name, title, description, owner_id, parent_id, created, modified, created_by', 'safe', 'on'=>'search'),
Expand Down

1 comment on commit 6691895

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No : XSS is needed only for Survey text ... i take and fix it really ...

Please sign in to comment.