-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Shibboleth Identity Provider Security Advisory [02 December 2026] The default message catalog (and translations) include a fallback error message for catch-all cases that fails to encode a parameter that under certain timing conditions can be manipulated by an attacker to result in control of content in the error view. HTML injection possible with default error view =============================================== The default views/error.vm template installed by the Identity Provider does not directly encode the error message added to the view, relying instead on the underlying message catalog to do so to allow for flexibility in handling errors. It also contains some fallback logic that could in rare cases result in a lack of encoding of the fallback message. Under certain timing conditions, part of the error message can be manipulated externally and result in unencoded output. In addition, while newer default installs of this view template contain a CSP directive blocking Javascript content, this does not extend to form actions, and is absent from older installs if they have not been hardened by the deployer. The underlying message entry has been fixed internally to perform the necessary encoding, and the default template has been hardened a as well. The translated version of this default message has been fixed in all the shipped translation files where it appears. Recommendations =============== Update to V5.3.0 (or later) of the Identity Provider software. In the event you cannot update, you may review the relevant commit, your error handling view(s), and any overridden message catalog files for hardening in accordance with the main upstream fix. [1] In particular, pay attention to views/error.vm and review whether you have any Velocity variables directly included in any non-default message catalog entries you may have installed into the top-level messages directory. You may also wish to review and add the default-supplied error.vm's CSP directives or additional ones as a safety measure, as older installs will not contain them. Credits ======= Ido Hoorvitch (NewCore) References ========== [1] https://codeberg.org/Shibboleth/java-identity-provider/commit/4391d9eed2ea47df19904d8a48ea9f3fb3029653 URL for this Security Advisory: https://shibboleth.net/community/advisories/secadv_20261202.txt -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEE3KoVAHvtneaQzZUjN4uEVAIneWIFAmsQXhgbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEDeLhFQCJ3li7KsP/1gmgJJ7J10puWi/j+28 fC/EkVwCGvd8VEW0pzO6VsaRM8m45cC7vBiUE2CXpMLJXi/YEBpSN7MHFrFKRynr F4cNsg/zB727HSuJ2YTyyxqcc7u7JaL6bZSoEMrzFsIrFx52yshWsRDmoGPXkSt0 ttcH+yGOJr8M0PzWrKKybod1JG7hO4IyfhosDQF2sR18bh0s1/zyZNzlZIviEaG9 1fSv6GYoDgwLqiUMeZoa4cwJnDUtBj0C9/QY7jD/f2Eywvl/XthS+Cq/UIlJ/9d4 xw3uc9lkAY9e0w6djlfCwzRX71U5GrJ97EBVe245p+thjVxVxdSDJrpk6tnbxeqq TIP79VYGVT0S8Wl2y9GI6ZR9NGQ4Mb+3xewSwTB1tUZFbkrpc0yUuE8/3C5mMK7K FiKQvoKzHyUj7e+S4ok3vbXLhA58z1UtaqOHh+KIIWzIu55fcgxIIxbRUaq3tln9 88R0dMX9NAgvi77WLg72CmIh8I4OvJlpCA6F12b84IMMzhR8UWcAG5ZAGzL/6ssb CHwJzoLUomN4aCjIu/enLJw9pxQ8AMJnt93tCoI/CA+Dwo+7HqaLiNnVmHDRx9HB ufwG7TSgKiyYxhbm8RcPZ19NibmxMjmzWmyr1nXk4TBtaqcC2vdYOmn95CA56lHy IRsYmy9dprOtKgAwKI0gRKo9 =/Smm -----END PGP SIGNATURE-----