GHSA-465f-mxxh-grc4

Suggest an improvement
Source
https://github.com/advisories/GHSA-465f-mxxh-grc4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-465f-mxxh-grc4/GHSA-465f-mxxh-grc4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-465f-mxxh-grc4
Aliases
Published
2023-02-21T15:30:23Z
Modified
2023-11-08T04:06:02.661898Z
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
Baremetrics date range picker vulnerable to Cross-site Scripting
Details

The Baremetrics date range picker is a solution for selecting both date ranges and single dates from a single calender view. Versions 1.0.14 and prior are prone to cross-site scripting (XSS) when handling untrusted placeholder entries. An attacker who is able to influence the field placeholder when creating a Calendar instance is able to supply arbitrary html or javascript that will be rendered in the context of a user leading to XSS. There are no known patches for this issue.

Database specific
{
    "nvd_published_at": "2023-02-21T15:15:00Z",
    "severity": "MODERATE",
    "github_reviewed_at": "2023-02-22T00:10:21Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

npm / baremetrics-calendar

Package

Name
baremetrics-calendar
View open source insights on deps.dev
Purl
pkg:npm/baremetrics-calendar

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.14