The vulnerability, identified as GHSA-jrfp-m64g-pcwv, is a Server-Side Request Forgery (SSRF) in the Open WebUI's Playwright-based web loader. The root cause is the application's failure to validate URLs after an HTTP redirect. The SafePlaywrightURLLoader class contains lazy_load (synchronous) and alazy_load (asynchronous) methods responsible for fetching web content. In vulnerable versions (<= 0.9.5), these functions would validate the initial user-provided URL but then use Playwright's page.goto() function, which follows redirects by default. This allowed an attacker to supply a seemingly benign URL that redirects to a private or internal IP address (e.g., 127.0.0.1, cloud metadata endpoints), bypassing the initial SSRF check.
The patch, found in commit f02aeea0bbd5fee6c223008baa7c0a28b1e98ac5, introduces request interception for all navigation events within Playwright. It adds new helper methods (_intercept_navigation_sync and _intercept_navigation) that re-validate the URL for every document request, including those initiated by redirects. The lazy_load and alazy_load functions were modified to register these interceptors using page.route() before calling page.goto(). Therefore, any attempt to exploit this vulnerability would involve a call to either SafePlaywrightURLLoader.lazy_load or SafePlaywrightURLLoader.alazy_load, making them the key indicators of exploitation in a runtime profile.