CRITICAL 9.9

CVE-2023-29205

org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro

Description

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:

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.xwiki.platform » xwiki-platform-rendering-xwiki
< 14.8-rc-1
14.8-rc-1

Blast radius

1affected artifacts
408affected versions
978dependent artifacts (est.)
77,138dependent versions

55% of the dependent artifacts (547) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,414
2 hops
34,200
3 hops
30,006
4 hops
10,532
5 hops
929
6 hops
57

Most used dependents

Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webjira.xwiki.org