NEW267579
Enforce requirement that keyword sources in CSP source expressions must be separated by whitespace
https://bugs.webkit.org/show_bug.cgi?id=267579
Summary Enforce requirement that keyword sources in CSP source expressions must be se...
Luke Warlow
Reported 2024-01-16 05:29:18 PST
Load `data:text/html,<meta http-equiv="Content-Security-Policy" content="script-src 'self''foo';">` in Chromium and you will correctly see a warning in the console. Load the same URL in Safari and you won't see any errors. Safari appears to only be matching that the buffer contains 'self' and not checking that the immediate next character is whitespace.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-01-18 08:56:09 PST
sideshowbarker
Comment 2 2024-02-10 17:40:09 PST
Note You need to log in before you can comment on or make changes to this bug.