The vulnerability, CVE-2026-8197, is a stored XSS issue in Concrete CMS's OAuth authorization process. The provided patch f22b9dff59454391a50a255a39995bf635deea9e contains the fix. The core of the vulnerability lies in the concrete/views/oauth/authorize.php template file. The patch shows that the integration name, retrieved via $integration->getName(), was previously passed directly into the t() translation function as part of a formatted string containing HTML tags. The fix involves wrapping $integration->getName() with the h() function, which is Concrete CMS's helper for HTML escaping, thus neutralizing the XSS vector.
The vulnerable function is the one responsible for rendering this view. While the controller file itself is not part of the provided patch, the patch does include changes to concrete/src/Authentication/Type/OAuth/ServiceProvider.php. This service provider sets up the routes for the OAuth functionality, and it explicitly maps the oauth2/authorization/consent route to the Concrete\Core\Authentication\Type\OAuth\Api\Authorization::consent method. This provides strong evidence that Authorization::consent is the controller method that prepares the data and renders the vulnerable authorize.php view. Therefore, this function is identified as the entry point for the vulnerability in a runtime profile.