org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro
Critical severity
GitHub Reviewed
Published
Apr 12, 2023
in
xwiki/xwiki-platform
•
Updated Apr 26, 2023
Package
Affected versions
< 14.8-rc-1
Patched versions
14.8-rc-1
Description
Published to the GitHub Advisory Database
Apr 12, 2023
Reviewed
Apr 12, 2023
Published by the National Vulnerability Database
Apr 15, 2023
Last updated
Apr 26, 2023
Impact
The HTML macro does not systematically perform a proper neutralization of script-related html tags. As a result, any user able to use the html macro in XWiki, is able to introduce an XSS attack. This can be particularly dangerous since in a standard wiki, any user is able to use the html macro directly in their own user profile page.
Patches
The problem has been patched in XWiki 14.8RC1. The patch involve that the HTML macro are systematically cleaned up whenever the user does not have script right.
Workarounds
There's no workaround for this issue.
For more information
If you have any questions or comments about this advisory:
References