org.thymeleaf:thymeleaf-spring6@3.1.5.RELEASE

  • latest version

    3.1.5.RELEASE

  • first published

    4 years ago

  • latest version published

    7 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.thymeleaf:thymeleaf-spring6 package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Expression Language Injection

    Affected versions of this package are vulnerable to Expression Language Injection in the Conversions class (the #conversions expression utility), whose convert method loads any class by name and passes it to the conversion service without applying the type restrictions of the restricted expression execution mode. An attacker who can inject into an expression that the application evaluates in restricted mode can instantiate types that the mode forbids by naming them as conversion targets, escalating the injection beyond the limits restricted mode enforces. Exploitation requires the application to pass unvalidated input into an expression evaluated in restricted mode, such as preprocessing, th:utext, template or fragment names, or TEXT template mode. The impact is highest in Spring integrations (thymeleaf-spring5, thymeleaf-spring6), where conversion is delegated to the application's Spring ConversionService.

    How to fix Expression Language Injection?

    Upgrade org.thymeleaf:thymeleaf-spring6 to version 3.1.6.RELEASE or higher.

    [,3.1.6.RELEASE)