Vulnerability Details : CVE-2022-31059
Discourse Calendar is a calendar plugin for Discourse, an open-source messaging app. Prior to version 1.0.1, parsing and rendering of Event names can be susceptible to cross-site scripting (XSS) attacks. This vulnerability only affects sites which have modified or disabled Discourse’s default Content Security Policy. This issue is patched in version 1.0.1 of the Discourse Calendar plugin. As a workaround, ensure that the Content Security Policy is enabled, and has not been modified in a way which would make it more vulnerable to XSS attacks.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-31059
- cpe:2.3:a:discourse:discourse_calendar:*:*:*:*:*:discourse:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-31059
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 23 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-31059
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
2.1
|
LOW | AV:N/AC:H/Au:S/C:N/I:P/A:N |
3.9
|
2.9
|
NIST | |
5.4
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
2.3
|
2.7
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
1.2
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2022-31059
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-31059
-
https://github.com/discourse/discourse-calendar/security/advisories/GHSA-c783-x9vm-xxp5
Event names susceptible to XSS · Advisory · discourse/discourse-calendar · GitHubThird Party Advisory
-
https://github.com/discourse/discourse-calendar/pull/280
SECURITY: correctly escape event name by oblakeerickson · Pull Request #280 · discourse/discourse-calendar · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/discourse/discourse-calendar/commit/2719b9e81994e961bf8c4e12b4556dc9777dd62f
SECURITY: correctly escape event name (#280) · discourse/discourse-calendar@2719b9e · GitHubPatch;Third Party Advisory
Jump to