Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

SS-2015-027: HtmlEditor embed url sanitisation

Severity:
Low (?)
Identifier:
ss-2015-027
Versions Affected:
3.2.0 and below
Versions Fixed:
3.2.1
Release Date:
2015-11-16

"Add from URL" doesn't clearly sanitise URL server side

HtmlEditorField_Toolbar has an action HtmlEditorField_Toolbar#viewfile, which gets called by the CMS when adding a media "from a URL" (i.e. via oembed).

This action gets the URL to add in the GET parameter FileURL. However it doesn't do any URL sanitising server side. The current logic will pass this through to Oembed, which will probably reject most dangerous URLs, but it's possible future changes would break this.

Common Vulnerability Scoring System (CVSS) Information