| PasswordClass only uses the password encoders from org.springframework.security.crypto, which are provided by the spring-security-crypto artifact. Depending on spring-security-core brings in the whole Spring Security core and Spring Framework (spring-beans, spring-context, spring-core, spring-expression) as well as Micrometer, none of which are used by XWiki, and which regularly get flagged by security scanners (e.g. CVE-2026-59329 and CVE-2026-59333 in spring-security-core). |