Second-Order XSS via javascript protocol in MCP Server Portal Apps leads to ATO
Originally disclosed on HackerOne
- Triaged in 9 days
- Fixed in 26 days
- Paid in 19 days
- Disclosed after 4 months
Summary by the program
Missing sanitization of the redirect_uri parameter led to a XSS vulnerability in MCP server portals. An attacker can craft a malicious redirect_uri containing JavaScript code, obtain a client_id for this malicious URI, and then reuse it when a victim has an active session (CF_Authorization cookie exists) on the /authorize endpoint to execute arbitrary JavaScript. A detailed writeup by the reporter can be found here. We recommend upgrading workers-oauth-provider to the latest version and following the best practices in Securing MCP Servers .
Summary by the researcher
My side of the story: https://kazama.in/mcp-server-portal-xss-to-ato
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A low-severity XSS bug in Cloudflare Public Bug Bounty. HackerOne made it public on 16 December 2025.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.