Skip to content

Cross-Site Scripting in Tag

Moderate
plegall published GHSA-7379-w44f-mfw4 Mar 1, 2024 · 1 comment

Package

composer Piwigo / Piwigo (Composer)

Affected versions

13.7.0

Patched versions

None

Description

Summary

There is an accumulated XSS on the Tags page of the administrator screen.

Details

On the administrator screen, users who can add tags can execute arbitrary scripts on the browsers of users who access the tag page.

PoC

Add the following Payload by adding a tag. (admin.php?page=tags)

  • method: pwg.tags.add
  • Payload: "/></script><script>alert(3)</script>
  • Parameter: name

Required Permissions

  • Users who can access "Photos" on the administrator screen

Impact

Stored XSS vulnerabilities can lead to data theft, account compromise, and the distribution of malware.
Attackers can inject malicious scripts into a website, allowing them to steal sensitive information or hijack user sessions. Additionally, stored XSS can result in website defacement and content manipulation, causing reputational damage.
It can also be used as a platform for launching phishing attacks, tricking users into revealing their credentials or sensitive data.

@scgajge12
Copy link
Author

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

CVE ID

No known CVE

Weaknesses

Credits