]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Security: fix multiple XSS vulnerabilities + fix search tags with special chars 1585/head
authorArthurHoaro <arthur@hoa.ro>
Tue, 6 Oct 2020 15:30:18 +0000 (17:30 +0200)
committerArthurHoaro <arthur@hoa.ro>
Tue, 6 Oct 2020 15:30:18 +0000 (17:30 +0200)
commit72fbbcd6794facea2cf06d9742359d190257b00f
treea4d6f446ec861f9a7591edb31f322e2a846b2bac
parentdf25b28dcd3cde54d42c18a55a810daa82bf5727
Security: fix multiple XSS vulnerabilities + fix search tags with special chars

XSS vulnerabilities fixed in editlink, linklist, tag.cloud and tag.list.

Also fixed tag search with special characters: urlencode function needs to be applied on raw data, before espaping, otherwise the rendered URL is wrong.
application/Utils.php
application/formatter/BookmarkFormatter.php
application/front/controller/admin/ManageShaareController.php
application/front/controller/admin/ManageTagController.php
application/front/controller/visitor/BookmarkListController.php
application/front/controller/visitor/TagCloudController.php
application/render/PageBuilder.php
assets/default/js/base.js
tpl/default/linklist.html
tpl/default/tag.cloud.html
tpl/default/tag.list.html