If one create a link with a password and sends it via mail in seafile, the password will be send without HTML escape. The message a User enters can also contain unescaped HTML.
This could lead to missing / wrong passwords after a "<" sign or for malicious use as external links could be injected into the code.
I used <h1>Hi</h1> to demonstrate this behaviour:
also here a p=""> was added:
A fix would be those replacements for the password and message variables in the code:
If one create a link with a password and sends it via mail in seafile, the password will be send without HTML escape. The message a User enters can also contain unescaped HTML.
This could lead to missing / wrong passwords after a "<" sign or for malicious use as external links could be injected into the code.
I used
<h1>Hi</h1>
to demonstrate this behaviour:also here a
p="">
was added:A fix would be those replacements for the password and message variables in the code: