High Severity
Attachment: HTML smuggling with eval and atob
Description
Recursively scans files and archives to detect HTML smuggling techniques.
References
No references.
Sublime Security
Created Aug 17th, 2023 • Last updated Aug 21st, 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(.),
// usage: onerror="eval(atob('
any(.scan.strings.strings, regex.imatch(., ".*eval.{1,4}atob.*"))
)
)
Playground
Test against your own EMLs or sample data.