The usermacros resource in Atlassian Confluence Server before version 6.3.4 allows remote attackers to inject arbitrary HTML or JavaScript via a cross site scripting (XSS) vulnerability through the description of a macro.
Acknowledgements
Atlassian would like to credit Veit Hailperin (@fenceposterror) for reporting this issue to us.