Headline
CVE-2023-39521: Fixes request #33656: XSS on the success message of a kanban deletion · Enalean/tuleap@93d1065
Tuleap is an open source suite to improve management of software developments and collaboration. In Tuleap Community Edition prior to version 14.11.99.28 and Tuleap Enterprise Edition prior to versions 14.10-6 and 14.11-3, content displayed in the “card fields” (visible in the kanban and PV2 apps) is not properly escaped. An agile dashboard administrator deleting a kanban with a malicious label can be forced to execute uncontrolled code. Tuleap Community Edition 14.11.99.28, Tuleap Enterprise Edition 14.10-6, and Tuleap Enterprise Edition 14.11-3 contain a fix for this issue.
Expand Up
@@ -18,6 +18,7 @@
*/
import { get, head, patch, del, post, put } from "@tuleap/tlp-fetch";
import { escaper } from "@tuleap/html-escaper";
export default KanbanService;
Expand Down Expand Up
@@ -339,8 +340,8 @@ function KanbanService(
}
function removeKanban() {
var message = gettextCatalog.getString("Kanban {{ label }} successfuly deleted", {
label: SharedPropertiesService.getKanban().label,
const message = gettextCatalog.getString("Kanban {{ label }} successfully deleted", {
label: escaper.html(SharedPropertiesService.getKanban().label),
});
$window.sessionStorage.setItem("tuleap_feedback", message);
$window.location.href =
Expand Down