The vulnerability allows an attacker to retrieve titles of inaccessible pages through the REST API. The provided commit (ee642f973a7c95d2d146fe03c81bcdee1871f4ec) patches this by adding explicit access control checks (this.contextualAuthorizationManager.hasAccess(Right.VIEW, ...)). The vulnerable functions are those that, prior to this patch, would fetch and return page/document titles or related metadata (like icons which might imply existence or type) without performing these checks.
The primary vulnerable functions are getLabel in GroupsClassPropertyValuesProvider and PageClassPropertyValuesProvider, as these methods are directly responsible for retrieving and returning the display title of documents. The getValue method in AbstractDocumentListClassPropertyValuesProvider is also implicated as it's a more generic method that could be used by subclasses to expose titles if they didn't implement their own checks. The getIcon methods in GroupsClassPropertyValuesProvider and UsersClassPropertyValuesProvider were also modified to add checks, indicating they could previously leak information about inaccessible documents by attempting to fetch their icons/avatars.
The root cause is the missing authorization check before accessing and returning document titles or related data via specific REST API endpoints that utilize these property value providers.