Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. piccolo-admin
  4. ›
  5. GHSA-pmww-v6c9-7p83

GHSA-pmww-v6c9-7p83: Piccolo Admin's raw SVG loading may lead to complete data compromise from admin page

April 1, 2024

Piccolo’s admin panel provides the ability to upload media files and view them within the admin panel. If SVG is an allowed file type for upload; the default; an attacker can upload an SVG which when loaded under certain contexts allows for arbitrary access to the admin page.

This access allows the following actions for example:

  • The ability for an attacker to gain access to all data stored within the admin page
  • The ability for an attacker to make any action within the admin page such as creating, modifying or deleting table records

As the SVG is executed from the context of an authenticated admin session, any actions they may be able to make can be made by the attacker.

N.b. The relevant session cookies are inaccessible from JavaScript due to httponly being set so all exploits must be present within the SVG file

References

  • github.com/advisories/GHSA-pmww-v6c9-7p83
  • github.com/piccolo-orm/piccolo_admin
  • github.com/piccolo-orm/piccolo_admin/commit/c419575c2467959d906154084d305648eb2b8faf
  • github.com/piccolo-orm/piccolo_admin/security/advisories/GHSA-pmww-v6c9-7p83

Code Behaviors & Features

Detect and mitigate GHSA-pmww-v6c9-7p83 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.2.0 before 1.3.2

Fixed versions

  • 1.3.2

Solution

Upgrade to version 1.3.2 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/piccolo-admin/GHSA-pmww-v6c9-7p83.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.