Skip to content

Commit

Permalink
[mms] SECURITY: Fix XSS in displaying mailbox name in dynamic mailbox…
Browse files Browse the repository at this point in the history
… view (João Machado <geral@jpaulo.eu>).

Severity: low (requires a separate attack vector to store the XSS code
as a mailbox name on the IMAP server)
  • Loading branch information
slusarz committed Mar 13, 2014
1 parent 88f612c commit 2f1f4b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions imp/docs/CHANGES
Expand Up @@ -2,6 +2,8 @@
v6.1.8-git
----------

[mms] SECURITY: Fix XSS in displaying mailbox name in dynamic mailbox view
(João Machado <geral@jpaulo.eu>).


------
Expand Down
2 changes: 1 addition & 1 deletion imp/js/dimpbase.js
Expand Up @@ -2005,7 +2005,7 @@ var DimpBase = {
text += ' (' + this.messageCountText(rows) + ')';
}

$('mailboxName').update(text);
$('mailboxName').update(text.escapeHTML());
},

// m = (string|Element) Mailbox element.
Expand Down
4 changes: 2 additions & 2 deletions imp/package.xml
Expand Up @@ -33,7 +33,7 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
*
* [mms] SECURITY: Fix XSS in displaying mailbox name in dynamic mailbox view (João Machado &lt;geral@jpaulo.eu&gt;).
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -3343,7 +3343,7 @@
<date>2014-03-07</date>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
*
* [mms] SECURITY: Fix XSS in displaying mailbox name in dynamic mailbox view (João Machado &lt;geral@jpaulo.eu&gt;).
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 2f1f4b1

Please sign in to comment.