iframe not blocked in TYPO3 12 if only essential cookies are accepted if iframeWhitelist is empty

TYPO3 v12.4.3

sgalinski/sg-cookie-optin v.5.2.4

If only the essential cookies are accepted, iframes are still loading and not blocked away like in previous versions. Block external content is enabled in backend (iframe_enabled=1)

Cookie Value: essential:1|preferences:0|analytics:0|marketing:0|iframes:0

As you can see in the screenshot, even if the user hasn't accepted anything, the YouTube iframe is still loading in the background.

Bildschirm_foto_2023-07-20_um_11.42.22

The release of this project is next week on monday. Is there any possible workaround or hope for a quickfix?

Thanks in advance!

Edited by Fabian Schiller
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information