Warning

An SVG icon contains scripts or external links

The short version

Export the icon without scripts or external references.

What it means

An SVG icon or logo on the site contains parts that can run code or load other files: <script> elements, event handlers such as onload, <foreignObject> or links to outside resources. We removed those parts before showing our copy, and the details list what was taken out.

Why it matters

Browsers don't run scripts in an SVG used as an image, but the same file opened directly or embedded inline would run them. External references can also track visitors or break when the other site changes. Many services refuse SVG logos with such content, so yours may not show up at all.

How to fix it

  1. Open the file in a text editor and look for <script, on...= attributes, <foreignObject> and href values pointing to other sites.
  2. Re-export the icon from your design tool as a plain SVG, without scripts or embedded fonts.
  3. Run it through an SVG optimiser such as SVGO, which removes editor metadata and most extras.
  4. Upload the clean file in place of the old one.

Check it worked

Run the metadata check again. Our copy should list nothing removed and the finding should be gone.