CVE-2023-32070
Improper Neutralization of Script in Attributes in XWiki (X)HTML renderers
Description
Impact
HTML rendering didn't check for dangerous attributes/attribute values. This allowed cross-site scripting (XSS) attacks via attributes and link URLs, e.g., supported in XWiki syntax.
Patches
This has been patched in XWiki 14.6 RC1.
Workarounds
There are no known workarounds apart from upgrading to a fixed version.
References
- https://github.com/xwiki/xwiki-rendering/commit/c40e2f5f9482ec6c3e71dbf1fff5ba8a5e44cdc1
- https://jira.xwiki.org/browse/XRENDERING-663
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
Affected Maven artifacts (7)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform » xwiki-core-rendering-api | <= 3.0-milestone-2 | - |
| org.xwiki.platform » xwiki-platform-annotation-core | < 14.6-rc-1 | 14.6-rc-1 |
| org.xwiki.rendering » xwiki-rendering-syntax-annotatedhtml5 | < 14.6-rc-1 | 14.6-rc-1 |
| org.xwiki.rendering » xwiki-rendering-syntax-annotatedxhtml | < 14.6-rc-1 | 14.6-rc-1 |
| org.xwiki.rendering » xwiki-rendering-syntax-html | < 14.6-rc-1 | 14.6-rc-1 |
| org.xwiki.rendering » xwiki-rendering-syntax-html5 | < 14.6-rc-1 | 14.6-rc-1 |
| org.xwiki.rendering » xwiki-rendering-syntax-xhtml | < 14.6-rc-1 | 14.6-rc-1 |
Blast radius
80% of the dependent artifacts (866) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 11,317 |
| 2 hops | 34,539 |
| 3 hops | 63,666 |
| 4 hops | 25,122 |
| 5 hops | 4,397 |
| 6 hops | 407 |
Most used dependents
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.xwiki.rendering » xwiki-rendering-macro-html145 usages
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- org.xwiki.platform » xwiki-platform-rest-server85 usages
- org.xwiki.platform » xwiki-platform-tool-packager-plugin77 usages
- org.xwiki.platform » xwiki-platform-administration-ui75 usages
- org.xwiki.platform » xwiki-platform-test-page72 usages
- org.xwiki.platform » xwiki-platform-test-oldcore71 usages
- org.xwiki.platform » xwiki-platform-panels-ui62 usages
- com.xpn.xwiki.platform » xwiki-core61 usages
- org.xwiki.platform » xwiki-platform-configuration-default57 usages
- org.phenotips » patient-data-api52 usages
- com.xwiki.licensing » application-licensing-licensor-api51 usages
- org.xwiki.platform » xwiki-platform-skin-skinx49 usages
- org.xwiki.platform » xwiki-platform-livetable-ui48 usages
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
| Advisory | NVD CVE-2023-32070 | nvd.nist.gov |
| Package | xwiki/xwiki-rendering | github.com |
| Web | xwiki/xwiki-rendering advisory GHSA-6gf5-c898-7rxp | github.com |
| Web | xwiki/xwiki-rendering commit c40e2f5 | github.com |
| Web | browse/XRENDERING-663 | jira.xwiki.org |
