Yamcs Cross-site Scripting vulnerability
Date: 2023-10
Affected: maven/org.yamcs:yamcs
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2023-45280
CWE: CWE-79
CVSS: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)

Yamcs 5.8.6 allows XSS (issue 2 of 2). It comes with a Bucket as its primary storage mechanism. Buckets allow for the upload of any file. There's a way to upload an HTML file containing arbitrary JavaScript and then navigate to it. Once the user opens the file, the browser will execute the arbitrary JavaScript.


Mitigations:

Architectural layers (MAESTRO):