MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0, the OAuth error query parameter is passed to CallbackHandler._send_response in oauth_setup.py and interpolated into an HTML page without escaping. A crafted authorization callback can inject markup or script that executes in the browser of a user completing the OAuth flow. This issue is fixed in version 0.22.0.
https://github.com/sooperset/mcp-atlassian/security/advisories/GHSA-g2r2-3j32-j27x
https://github.com/sooperset/mcp-atlassian/releases/tag/v0.22.0
https://github.com/sooperset/mcp-atlassian/pull/1448
https://github.com/sooperset/mcp-atlassian/commit/b041733473f95119dd539542a43c280737a8e460