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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
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
Show 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.
...
@@ -2,6 +2,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 8.6.7
v 8.6.7
- Fix persistent XSS vulnerability in `commit_person_link` helper
- 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
- Fix vulnerability that made it possible to enumerate private projects belonging to group
v 8.6.6
v 8.6.6
...
...
app/assets/javascripts/labels_select.js.coffee
View file @
b6e8aca9
...
@@ -126,7 +126,7 @@ class @LabelsSelect
...
@@ -126,7 +126,7 @@ class @LabelsSelect
"<li>
"<li>
<a href='#' class='
#{
selected
}
'>
<a href='#' class='
#{
selected
}
'>
#{
color
}
#{
color
}
#{
label
.
title
}
#{
_
.
escape
(
label
.
title
)
}
</a>
</a>
</li>"
</li>"
filterable
:
true
filterable
:
true
...
...
app/assets/javascripts/milestone_select.js.coffee
View file @
b6e8aca9
...
@@ -53,7 +53,7 @@ class @MilestoneSelect
...
@@ -53,7 +53,7 @@ class @MilestoneSelect
defaultLabel
defaultLabel
fieldName
:
$dropdown
.
data
(
'field-name'
)
fieldName
:
$dropdown
.
data
(
'field-name'
)
text
:
(
milestone
)
->
text
:
(
milestone
)
->
milestone
.
title
_
.
escape
(
milestone
.
title
)
id
:
(
milestone
)
->
id
:
(
milestone
)
->
if
!
useId
if
!
useId
milestone
.
name
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