GHSA-3rwj-v7jp-w542

Suggest an improvement
Source
https://github.com/advisories/GHSA-3rwj-v7jp-w542
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3rwj-v7jp-w542/GHSA-3rwj-v7jp-w542.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3rwj-v7jp-w542
Aliases
Published
2022-05-14T03:14:51Z
Modified
2024-04-24T20:43:07.741111Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Pagekit Stored Cross-site Scripting
Details

Stored XSS in YOOtheme Pagekit 1.0.13 and earlier allows a user to upload malicious code via the picture upload feature. A user with elevated privileges could upload a photo to the system in an SVG format. This file will be uploaded to the system and it will not be stripped or filtered. The user can create a link on the website pointing to "/storage/poc.svg" that will point to http://localhost/pagekit/storage/poc.svg. When a user comes along to click that link, it will trigger a XSS attack.

Database specific
{
    "nvd_published_at": "2018-06-02T01:29:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T20:18:26Z"
}
References

Affected packages

Packagist / pagekit/pagekit

Package

Name
pagekit/pagekit
Purl
pkg:composer/pagekit/pagekit

Affected ranges

Affected versions

1.*

1.0.13