GHSA-j2xf-p274-g8cc

Suggest an improvement
Source
https://github.com/advisories/GHSA-j2xf-p274-g8cc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-j2xf-p274-g8cc/GHSA-j2xf-p274-g8cc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-j2xf-p274-g8cc
Aliases
Published
2022-05-18T00:00:45Z
Modified
2023-11-01T04:58:48.424763Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-site Scripting in Jirafeau
Details

The file preview functionality in Jirafeau < 4.4.0, which is enabled by default, could be exploited for cross site scripting. An attacker could upload image/svg+xml files containing JavaScript. When someone visits the File Preview URL for this file, the JavaScript inside of this image/svg+xml file will be executed in the users' browser.

Database specific
{
    "nvd_published_at": "2022-05-17T14:15:00Z",
    "github_reviewed_at": "2022-06-02T15:52:33Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Packagist / mojo42/jirafeau

Package

Name
mojo42/jirafeau
Purl
pkg:composer/mojo42/jirafeau

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.0

Affected versions

4.*

4.3.0