Goobi viewer: IIIF Auth 2.0 origin parameter unsanitized — CSP malformation and reflected XSS
- Published
- Last modified
- Status
- published
- Known exploitation
- Not listed in CISA KEV
- Fix
- Fixed in 26.05
- Public exploit
- None on Exploit-DB
Summary
Goobi viewer, a web application for displaying digitised material in browsers, is affected by a vulnerability in its IIIF Auth 2.0 login and token endpoints. An attacker can supply a malicious value through an unvalidated parameter, enabling cross-site scripting attacks that run harmful code in a victim's browser.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
The Goobi viewer is a web application that allows digitised material to be displayed in a web browser. From version 25.08 to before version 26.05, the IIIF Auth 2.0 endpoints auth/login and auth/token in AuthorizationFlowResource accept an origin query parameter without validation and then (1) embed it into the Content-Security-Policy: frame-ancestors response header and (2) embed it into an HTML response body as a JavaScript single-quoted postMessage argument. Because the attacker controls both the login and token calls that initiate the flow, the unescaped value yields reflected XSS. This issue has been patched in version 26.05.
Affected versions
- intranda goobi-viewer-core
From 25.08 · fixed in 26.05