SVG Smuggling - T1027.017 (78b9e70d-1605-459c-b23d-e3a25036968c)
Adversaries may smuggle data and files past content filters by hiding malicious payloads inside of seemingly benign SVG files.(Citation: Trustwave SVG Smuggling 2025) SVGs, or Scalable Vector Graphics, are vector-based image files constructed using XML. As such, they can legitimately include <script>
tags that enable adversaries to include malicious JavaScript payloads. However, SVGs may appear less suspicious to users than other types of executable files, as they are often treated as image files.
SVG smuggling can take a number of forms. For example, threat actors may include content that:
- Assembles malicious payloads(Citation: Talos SVG Smuggling 2022)
- Downloads malicious payloads(Citation: Cofense SVG Smuggling 2024)
- Redirects users to malicious websites(Citation: Bleeping Computer SVG Smuggling 2024)
- Displays interactive content to users, such as fake login forms and download buttons.(Citation: Bleeping Computer SVG Smuggling 2024)
SVG Smuggling may be used in conjunction with HTML Smuggling where an SVG with a malicious payload is included inside an HTML file.(Citation: Talos SVG Smuggling 2022) SVGs may also be included in other types of documents, such as PDFs.
Cluster A | Galaxy A | Cluster B | Galaxy B | Level |
---|---|---|---|---|
SVG Smuggling - T1027.017 (78b9e70d-1605-459c-b23d-e3a25036968c) | Attack Pattern | Obfuscated Files or Information - T1027 (b3d682b6-98f2-4fb0-aa3b-b4df007ca70a) | Attack Pattern | 1 |