GHSA-5chx-gg25-v37m

Suggest an improvement
Source
https://github.com/advisories/GHSA-5chx-gg25-v37m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-5chx-gg25-v37m/GHSA-5chx-gg25-v37m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5chx-gg25-v37m
Aliases
Published
2022-04-12T21:17:38Z
Modified
2023-11-08T04:00:11.582168Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-site Scripting in xain
Details

XSS is possible via the use of the order query parameter. An example request would look like:

http://host/ressources?order=%27><script>alert(1);</script>
  

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2022-04-12T21:17:38Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Hex / xain

Package

Name
xain
Purl
pkg:hex/xain

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.2