Server-side request forgery in the METS and IIIF import URI handling in Scripta eScriptorium through 26.04.1 allows a remote authenticated user to make the server issue arbitrary HTTP requests to internal hosts, including the cloud instance metadata service, via the mets_uri or iiif_uri parameter of POST /api/documents/{pk}/imports/, because the IMPORT_ALLOWED_DOMAINS setting defaults to '*' and no address filtering, redirect cap or timeout is applied
Upgrade to fixed version: 26.04.2, 1.0.1 or 0.13.9. As a mitigation on affected versions, set the IMPORT_ALLOWED_DOMAINS setting to an explicit list of permitted domains instead of leaving it at its default value of '*'.