Skip to content

Why SVG Email Attachments Can Be Unsafe

Learn why scammers send .svg picture files as email attachments to get past spam filters, and what to do if you receive or open one.

Text and Email ScamsNovember 11, 20263 min read

Do not open an email attachment that ends in .svg unless you expect a logo from a designer. Real bills, contracts, and voicemails never come as SVG picture files.

An SVG file (short for Scalable Vector Graphics) is a picture format used on websites for logos and icons. A normal photo ends in .jpg or .png and is made of tiny dots. An SVG is different. It is a text file full of code that tells your web browser (the program you use to visit websites, like Chrome or Safari) how to draw the picture.

Your web browser reads that code when you open the file. Scammers hide extra code inside it. When you click the file, it opens in your browser. Then it sends you to a fake sign‑in page to steal your password.

Why it matters

Email services use spam filters to block bad emails before they reach your inbox. These filters check web links inside an email. They also block file types that carry harmful programs.

Scammers use SVG files to get past both checks:

  • No links in the email: The email often has one short line, like “Please check the attached file.” There is no web link for the spam filter to check.

  • Seen as a safe picture: For years, many email filters treated .svg files like normal, safe photos. They let them pass without checking the code inside. From June to August 2026, scammers sent over 26,500 fake voicemail emails with SVG files. Basic spam filters missed three out of four of them1.

To make you click the picture file, scammers give it a normal name like Invoice_Copy.svg, Voicemail_Message.svg, or Document_Review.svg.

How an SVG attachment trick works
  1. The email slips past the filter

    The message has no web links in the text, and the filter sees the .svg attachment as a harmless picture file.

  2. You open the attachment

    The file is named like a voicemail or invoice. When you click it, your computer opens it inside your web browser.

  3. Hidden code runs in your browser

    Instructions hidden inside the picture file send your browser to a fake website or show a fake document preview.

  4. A fake sign-in page asks for your password

    The page looks like Microsoft, Google, or DocuSign and often has your email address already filled in to look convincing.

Scammers use other tricks to hide links from spam filters, too. For example, they try putting a QR code inside an email so you will scan it with your phone.

Not secureWeb address: https://login-check-docs.example/auth

Sign in to view your document

Your session has expired. Please enter your email password to listen to Voicemail_01min_09sec.svg. Email: reader@example.com Password: [ ]
Sign In

Red flags on this page

These files are just one trick scammers use. Learning about spotting fake texts and emails helps you catch other warning signs.

What to do

If you get an email you did not expect with an .svg file, follow these steps.

  1. Do not open the file. If you want to see who sent the message, you can check the sender's real email address. Never open an .svg file to see what it is.

  2. Check the account on your own. The email may claim to be a bill, a voicemail, or a contract. Open your web browser yourself and go to the company’s real website. Or call a phone number you already trust. If it looks like a contract to sign, you can check a DocuSign document without clicking email links.

  3. Delete the email. If you got a document signature email with an SVG attachment, mark it as spam or delete it. That way you will not click it by mistake later.

Maybe you opened the .svg file and saw a sign‑in page, even one showing your email address. If you closed the window without typing your password, that form did not steal your password. Close the browser tab and delete the email. If the file saved a .zip file or another program to your computer, delete that new file from your Downloads folder. Do not open it.

For more information

  1. SVG attachments used in widespread phishing campaign | brief | SC Mediascworld.com

Keep reading

More in Text and Email Scams

How to Check a Sender’s Real Email Address

Learn how to reveal the full email address behind a sender’s name on your phone or computer to see if a message really came from that business.

Step by stepText and Email Scams