High Severity
Attachment: HTML smuggling with unescape
Description
Recursively scans files and archives to detect HTML smuggling techniques.
Sublime Security
Created Aug 17th, 2023 • Last updated Sep 22nd, 2023
Feed Source
Sublime Core Feed
Source
type.inbound
and any(attachments,
(
.file_extension in~ ("html", "htm", "shtml", "dhtml")
or .file_extension in~ $file_extensions_common_archives
or .file_type == "html"
)
and any(file.explode(.),
any(.scan.javascript.identifiers, . == "unescape")
or any(.scan.strings.strings, regex.contains(., "document.write.{0,10}unescape"))
)
)
Playground
Test against your own EMLs or sample data.