Skip to content

Commit b1e7f4f

Browse files
committed
Bug #13811: fixing stored XSS leading to full account takeover
1 parent c504b06 commit b1e7f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yellowpages/yellowpages-war/src/main/webapp/yellowpages/jsp/topicManager.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function addGroup() {
158158
}
159159
160160
function contactGoTo(id) {
161-
location.href = "ContactUpdate?ContactId="+id;
161+
sp.formRequest("ContactUpdate?ContactId=" + id).byPostMethod().submit();
162162
}
163163
164164
function contactDeleteConfirm(id) {

0 commit comments

Comments
 (0)