The security advisory explicitly identifies the Utils::parseUrl() function as the source of a stored cross-site scripting vulnerability in phpMyFAQ versions prior to 4.1.2. The advisory explains that the function does not properly escape URLs when converting them into clickable links, allowing attackers to inject malicious event handlers. By analyzing the commits between the vulnerable version (e.g., 4.1.1) and the patched version (4.1.2), I identified the specific commit c601bf985cf762c8c4ed6e660ad8055067a1f011 with the message 'fix: hardened the parseUrl() method'. The diff in this commit clearly shows the modification to the parseUrl function in phpmyfaq/src/phpMyFAQ/Utils.php. The vulnerable code, which used a simple preg_replace, was replaced with preg_replace_callback to apply htmlspecialchars to the URL. This directly confirms that phpMyFAQ\Utils::parseUrl was the vulnerable function, as it processed user-supplied input (comment text containing a URL) and rendered it into the page without proper sanitization, making it the precise location of the exploitable flaw.