Headline
CVE-2023-32685: Avoid potential clipboard based cross-site scripting · kanboard/kanboard@26b6eeb
Kanboard is project management software that focuses on the Kanban methodology. Due to improper handling of elements under the contentEditable
element, maliciously crafted clipboard content can inject arbitrary HTML tags into the DOM. A low-privileged attacker with permission to attach a document on a vulnerable Kanboard instance can trick the victim into pasting malicious screenshot data and achieve cross-site scripting if CSP is improperly configured. This issue has been patched in version 1.2.29.
Expand Up
@@ -36,7 +36,7 @@ KB.component('screenshot’, function (containerElement) {
if (! window.Clipboard) {
// Insert the content editable at the top to avoid scrolling down in the board view
pasteCatcher = document.createElement(‘div’);
pasteCatcher = document.createElement(‘template’);
pasteCatcher.id = 'screenshot-pastezone’;
pasteCatcher.contentEditable = true;
pasteCatcher.style.opacity = 0;
Expand Down