Tumult Hype Wordpress Plugin: Information about Allowlisted files for OAM uploads

If you'd like to suggest permanently adding an allowed file extension, please let us know here.

  • To maintain security for your Wordpress site, we strongly recommend you only share Author or higher logins with people you trust, and don't add server scripts like PHP files to your Hype documents.
  • For compressed files like zip or rar files, we recommend uploading these directly to your media library and loading these using a full URL if you need to link to them from your library.
1 Like

The list looks pretty extensive…

// Define an initial allowed extensions array
$allowlist_tumult_hype_animations = array(
	'images' => array(
		'htc', // for ie compatibility
		'pie', // for ie compatibility
	'audio' => array(
	'video' => array(
	'fonts' => array(
	'documents' => array(
	'scripts' => array(
		'map', // source map
	'stylesheets' => array(
	'other' => array(
		'plist', // recoverable Tumult Hype plist file

I was wondering if “svg” would be considered a safe file. That might be considered a problem because it could include JavaScript… but since this is Hype land, “js” is already there.

I was thinking usdz, but that's in the “documents”.

Here are just some ideas for discussion…

  • Apple extensions… .numbers, .pages, .key
  • .htaccess… usage seems unlikely and might actually be a security risk
  • swf… ha ha, since IE related files are there already

I don't really need those. It's just for discussion.

Also, here's a nice page about a list of web extensions… Common MIME types - HTTP | MDN …but it looks like you got the good ones already.

I'm missing a lot of 3D formats, but I haven't seen those used much in Wordpress. Willing to entertain more file types as long as they can't be used to do sneaky stuff :skull_and_crossbones:. I feel like .htaccess files can be very malicious (for redirects).

For SVGS, this post had some interesting info about SVGs + security in Wordpress: Enable SVG Support in WordPress. The best in class 'cleaner' for SVGs seems to be: GitHub - darylldoyle/svg-sanitizer: A PHP SVG/XML Sanitizer but I'm not sure it's the right move to integrate that here.

1 Like

7 posts were split to a new topic: Add GLB file format to Tumult Hype Wordpress Plugin