English edition · cyberattaques.org in FrenchFrançais
Vulnerability

Shibboleth Identity Provider 5.3.0 fixes several flaws, including HTML injection in the error page

CERT-FR reports several vulnerabilities in Shibboleth Identity Provider before version 5.3.0 that can lead to arbitrary code execution, data exposure or a security policy bypass. Every organisation running an earlier release of this identity provider is affected.

What to do now Illustration photo (login authentication server)

On 3 December 2026, CERT-FR published advisory CERTFR-2026-AVI-1664. It covers four security advisories that the Shibboleth project released the previous day, numbered secadv_20261202, secadv_20261202a, secadv_20261202b and secadv_20261202c. The only product named is Shibboleth Identity Provider, in all versions earlier than 5.3.0.

According to the French agency, the flaws carry four kinds of risk: arbitrary code execution, loss of data confidentiality, loss of data integrity and bypass of security policy. The advisory does not say which vulnerability leads to which outcome. It gives no CVE identifiers and does not mention exploitation in the wild.

Only one of the four vendor advisories, secadv_20261202, is part of the material available here. The other three, including whichever one covers code execution, are not detailed. Their exploitation conditions are therefore unknown at this point: whether they are reachable over the network, whether they need an account, and whether a user has to do anything.

The advisory that is available describes an HTML injection in the default error view. The views/error.vm template does not encode the error message it displays. It leaves that job to the message catalog, which gives flexibility in how errors are handled. However, the template also contains fallback logic for catch-all cases. The fallback message, and its translations, failed to encode one of its parameters.

Under certain timing conditions, an attacker can manipulate part of that message from outside. The text is then rendered without encoding, which gives the attacker control over part of the content shown on the error page.

Recent default installs include a Content Security Policy directive in the template that blocks JavaScript. That directive does not cover form actions, however. It is also missing from older installs unless the administrator has hardened them.

In version 5.3.0, the catalog entry now performs the required encoding. The default template has been hardened, and the translated message has been corrected in every shipped translation file. One detail matters for upgrades: the existing error view is not overwritten. The new error.vm is placed next to the old one with an idpnew suffix, so a customised view stays in place until an administrator reviews it.

For deployments that cannot be upgraded, the project advises comparing that new default file with the deployed error views and with any overridden message catalog files. In particular, check that no Velocity variables are included directly in non-default catalog entries placed in the top-level messages directory. The project also suggests copying the default template's CSP directives, or adding stricter ones, as an extra safeguard. The issue was reported by Ido Hoorvitch (NewCore). The advisory was revised on 3 December to remove an incomplete commit link.

Action plan

What to do now

  1. Upgrade Shibboleth Identity Provider to version 5.3.0 or later.
  2. After upgrading, compare views/error.vm with the file shipped under the idpnew suffix and carry the fixes into any customised error views.
  3. Review overridden message catalog files in the messages directory and remove any directly included Velocity variables.
  4. Add the default template's CSP directives to the error view, especially on older installs that lack them.
  5. Read Shibboleth advisories secadv_20261202a, b and c for details of the remaining flaws.

Sources