{"id":"CVE-2023-5562","state":"PUBLISHED","title":"Unsafe default allows for cross-site scripting attacks in KNIME Server and KNIME Business Hub","description":"An unsafe default configuration in KNIME Analytics Platform before 5.2.0 allows for a cross-site scripting attack. When KNIME Analytics Platform is used as an executor for either KNIME Server or KNIME Business Hub several JavaScript-based view nodes do not sanitize the data that is displayed by default. If the data to be displayed contains JavaScript this code is executed in the browser and can perform any operations that the current user is allowed to perform silently.\n\n\n\n\nKNIME Analytics Platform already has configuration options with which sanitization of data can be actived, see  https://docs.knime.com/latest/webportal_admin_guide/index.html#html-sanitization-webportal https://docs.knime.com/latest/webportal_admin_guide/index.html#html-sanitization-webportal . However, these are off by default which allows for cross-site scripting attacks.\n\n\nKNIME Analytics Platform 5.2.0 will enable sanitization by default. For all previous releases we recommend users to add the corresponding settings to the executor's knime.ini.\n\n\n","publishedAt":"2023-10-12T19:00:54.732Z","updatedAt":"2024-09-18T15:02:03.398Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"KNIME"},"assigner":"KNIME","products":["KNIME KNIME Analytics Platform"],"affected":[{"vendor":"KNIME","product":"KNIME Analytics Platform","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.2.0","versionType":"semver"}],"modules":["JavaScript views"]}],"references":["https://www.knime.com/security/advisories#CVE-2023-5562"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/5xxx/CVE-2023-5562.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-5562","state":"PUBLISHED","datePublished":"2023-10-12T19:00:54.732Z","dateUpdated":"2024-09-18T15:02:03.398Z","assignerShortName":"KNIME","assignerOrgId":"296541fb-a0e3-4ca7-ab3d-683e666d143e","dateReserved":"2023-10-12T18:31:19.504Z"},"containers":{"cna":{"title":"Unsafe default allows for cross-site scripting attacks in KNIME Server and KNIME Business Hub","descriptions":[{"lang":"en","value":"An unsafe default configuration in KNIME Analytics Platform before 5.2.0 allows for a cross-site scripting attack. When KNIME Analytics Platform is used as an executor for either KNIME Server or KNIME Business Hub several JavaScript-based view nodes do not sanitize the data that is displayed by default. If the data to be displayed contains JavaScript this code is executed in the browser and can perform any operations that the current user is allowed to perform silently.\n\n\n\n\nKNIME Analytics Platform already has configuration options with which sanitization of data can be actived, see  https://docs.knime.com/latest/webportal_admin_guide/index.html#html-sanitization-webportal https://docs.knime.com/latest/webportal_admin_guide/index.html#html-sanitization-webportal . However, these are off by default which allows for cross-site scripting attacks.\n\n\nKNIME Analytics Platform 5.2.0 will enable sanitization by default. For all previous releases we recommend users to add the corresponding settings to the executor's knime.ini.\n\n\n"}],"affected":[{"vendor":"KNIME","product":"KNIME Analytics Platform","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.2.0","versionType":"semver"}],"modules":["JavaScript views"]}],"references":[{"url":"https://www.knime.com/security/advisories#CVE-2023-5562"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"KNIME","orgId":"296541fb-a0e3-4ca7-ab3d-683e666d143e","dateUpdated":"2023-10-12T19:00:54.732Z"},"datePublic":"2023-10-12T19:00:00.000Z","impacts":[{"capecId":"CAPEC-63","descriptions":[{"lang":"en","value":"CAPEC-63 Cross-Site Scripting (XSS)"}]}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Sanitization can be enabled for all affected JavaScript-based views by adding <code>-Djs.core.sanitize.clientHTML=true</code> to the executor's knime.ini. See <a target=\"_blank\" rel=\"nofollow\" href=\"https://docs.knime.com/latest/webportal_admin_guide/index.html#html-sanitization-webportal\">https://docs.knime.com/latest/webportal_admin_guide/index.html#html-sanitization-webportal</a> for more details.<br>"}],"value":"Sanitization can be enabled for all affected JavaScript-based views by adding -Djs.core.sanitize.clientHTML=true to the executor's knime.ini. See  https://docs.knime.com/latest/webportal_admin_guide/index.html#html-sanitization-webportal https://docs.knime.com/latest/webportal_admin_guide/index.html#html-sanitization-webportal  for more details.\n"}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.knime.com/security/advisories#CVE-2023-5562","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T07:59:44.813Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-18T15:01:52.714683Z","id":"CVE-2023-5562","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-18T15:02:03.398Z"}}]}}}