Skip to main content

Use of a Broken or Risky Cryptographic Algorithm


Severity Medium
Score 6.1/10


Laravel is a web application framework. Laravel in versions 5.4.0 before 6.20.42, 7.0.0 before 7.30.6, and 8.0.0 before 8.75.0, and contain a possible cross-site scripting (XSS) vulnerability in the Blade templating engine. A broken HTML element may be clicked and the user taken to another location in their browser due to XSS. This is due to the user being able to guess the parent placeholder SHA-1 hash by trying the common names of sections. If the parent template contains an exploitable HTML structure an XSS vulnerability can be exposed. This vulnerability has been patched by determining the parent placeholder at runtime and using a random hash that is unique to each request.

  • LOW
  • LOW
  • NONE
  • LOW
  • NONE

CWE-327 - Use of a Broken or Risky Cryptographic Algorithm

The use of a broken or risky cryptographic algorithm is an unnecessary risk that may result in the exposure of sensitive information.

Advisory Timeline

  • Published