CVE-2024-45303

Source
https://cve.org/CVERecord?id=CVE-2024-45303
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45303.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-45303
Aliases
  • GHSA-rq37-8pf3-4xc8
Published
2024-09-12T18:11:46Z
Modified
2026-10-28T02:30:52Z
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
Discourse Calendar plugin event names susceptible to XSS
Details

Discourse Calendar plugin adds the ability to create a dynamic calendar in the first post of a topic to Discourse. Rendering event names can be susceptible to XSS attacks. This vulnerability only affects sites which have modified or disabled Discourse’s default Content Security Policy. The issue is patched in version 0.5 of the Discourse Calendar plugin.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45303.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0.5"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StringRangeExpression"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "0.5"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/discourse/discourse-calendar

Affected ranges

Type
GIT
Repo
https://github.com/discourse/discourse-calendar
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "81e1c8e3c4c02276fb890da7e3f684259aeb685c"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45303.json"