Headline
GHSA-vxf7-mx22-jr24: org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro
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.
References
- https://jira.xwiki.org/browse/XWIKI-18568
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira
- Email us at security ML
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2023-29205
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 12, 2023
Package
maven org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven)
Affected versions
< 14.8-rc-1
Patched versions
14.8-rc-1
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.
References
- https://jira.xwiki.org/browse/XWIKI-18568
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira
- Email us at security ML
References
- GHSA-vxf7-mx22-jr24
- https://jira.xwiki.org/browse/XWIKI-18568
Published to the GitHub Advisory Database
Apr 12, 2023
Last updated
Apr 12, 2023
Related news
XWiki Commons are technical libraries common to several other top level XWiki projects. 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. The problem has been patched in XWiki 14.8RC1. The patch involves the HTML macros and are systematically cleaned up whenever the user does not have the script correct.