Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
b6e8aca9
Commit
b6e8aca9
authored
Apr 19, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove XSS vulnerability in Label and Milestone dropdowns
parent
70ada081
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG
CHANGELOG
+1
-0
app/assets/javascripts/labels_select.js.coffee
app/assets/javascripts/labels_select.js.coffee
+1
-1
app/assets/javascripts/milestone_select.js.coffee
app/assets/javascripts/milestone_select.js.coffee
+1
-1
No files found.
CHANGELOG
View file @
b6e8aca9
...
...
@@ -2,6 +2,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.6.7
- Fix persistent XSS vulnerability in `commit_person_link` helper
- Fix persistent XSS vulnerability in Label and Milestone dropdowns
- Fix vulnerability that made it possible to enumerate private projects belonging to group
v 8.6.6
...
...
app/assets/javascripts/labels_select.js.coffee
View file @
b6e8aca9
...
...
@@ -126,7 +126,7 @@ class @LabelsSelect
"<li>
<a href='#' class='
#{
selected
}
'>
#{
color
}
#{
label
.
title
}
#{
_
.
escape
(
label
.
title
)
}
</a>
</li>"
filterable
:
true
...
...
app/assets/javascripts/milestone_select.js.coffee
View file @
b6e8aca9
...
...
@@ -53,7 +53,7 @@ class @MilestoneSelect
defaultLabel
fieldName
:
$dropdown
.
data
(
'field-name'
)
text
:
(
milestone
)
->
milestone
.
title
_
.
escape
(
milestone
.
title
)
id
:
(
milestone
)
->
if
!
useId
milestone
.
name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment