HIGH 8.4

CVE-2023-35157

XWiki Platform vulnerable to reflected cross-site scripting via delattachment action

Description

Impact

It's possible to perform an XSS by forging a request to a delete attachment action with a specific attachment name. Now this XSS can be exploited only if the attacker knows the CSRF token of the user, or if the user ignores the warning about the missing CSRF token.

Patches

The vulnerability has been patched in XWiki 15.1-rc-1 and XWiki 14.10.6.

Workarounds

There's no workaround for this other than upgrading XWiki.

References

  • Jira ticket: https://jira.xwiki.org/browse/XWIKI-20339
  • Commit containing the fix: https://github.com/xwiki/xwiki-platform/commit/35e9073ffec567861e0abeea072bd97921a3decf

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-oldcore
>= 3.2-milestone-3, < 14.10.6>= 15.0-rc-0, < 15.1-rc-1
14.10.6, 15.1-rc-1

Blast radius

1affected artifacts
413affected versions
1,002dependent artifacts (est.)
81,565dependent versions

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

DepthDependent versions
Direct
31,490
2 hops
33,180
3 hops
14,358
4 hops
2,418
5 hops
117
6 hops
2

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.