Fix XSS vulnerability in error page

This commit is contained in:
krateng 2023-12-17 03:12:54 +01:00
parent 12064f6d99
commit febaff9722
5 changed files with 7 additions and 4 deletions

View File

@ -33,6 +33,7 @@ minor_release_name: "Nicole"
- "[Technical] Upgraded all third party modules to use requests module and send User Agent"
3.2.2:
notes:
- "[Security] Fixed XSS vulnerability in error page (Disclosed by https://github.com/NULLYUKI)"
- "[Architecture] Reworked the default directory selection"
- "[Feature] Added option to show scrobbles on tile charts"
- "[Bugfix] Fixed Last.fm authentication"

View File

@ -4,7 +4,7 @@
# you know what f*ck it
# this is hardcoded for now because of that damn project / package name discrepancy
# i'll fix it one day
VERSION = "3.2.1"
VERSION = "3.2.2"
HOMEPAGE = "https://github.com/krateng/maloja"

View File

@ -217,6 +217,8 @@ countas Pristin V Pristin
# CLC
countas Sorn CLC
countas Yeeun CLC
countas Seungyeon CLC
# Popular Remixes
artistintitle Areia Remix Areia

Can't render this file because it has a wrong number of fields in line 5.

View File

@ -8,8 +8,8 @@
<div style="background-image:url('/favicon.png')"></div>
</td>
<td class="text">
<h1>{{ error_desc }}</h1><br/>
{{ error_full_desc }}
<h1>{{ error_desc | e }}</h1><br/>
{{ error_full_desc | e }}
</td>
</tr>

View File

@ -1,6 +1,6 @@
[project]
name = "malojaserver"
version = "3.2.1"
version = "3.2.2"
description = "Self-hosted music scrobble database"
readme = "./README.md"
requires-python = ">=3.10"