Are SVG image files safe to upload? Why WP defines them as a security risk?

This question already has an answer here:For what security reasons are svgs blocked in the media uploader?(1 answer)Clos

This question already has an answer here: For what security reasons are svgs blocked in the media uploader? (1 answer) Closed 6 years ago.

I'd like to upload a map of the USA in a SVG format however I am prevented from doing so because of a 'security risk'.

Any ideas why this is? Is it safe to do so?

Thanks

This question already has an answer here: For what security reasons are svgs blocked in the media uploader? (1 answer) Closed 6 years ago.

I'd like to upload a map of the USA in a SVG format however I am prevented from doing so because of a 'security risk'.

Any ideas why this is? Is it safe to do so?

Thanks

Share Improve this question asked Apr 10, 2019 at 23:46 HenryHenry 9831 gold badge8 silver badges31 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 1

SVG files contain code in the XML markup language which is similar to HTML. Your browser or SVG editing software parses the XML markup language to display the output on the screen.

However, this opens up your website to possible XML vulnerabilities. It can be used to gain unauthorized access to user data, trigger brute force attacks, or cross-site scripting attacks.

Detailed article here

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745602889a4635504.html

相关推荐

  • Are SVG image files safe to upload? Why WP defines them as a security risk?

    This question already has an answer here:For what security reasons are svgs blocked in the media uploader?(1 answer)Clos

    9小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信