gsd-2022-40313
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2022-40313", "id": "GSD-2022-40313" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2022-40313" ], "details": "Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.", "id": "GSD-2022-40313", "modified": "2023-12-13T01:19:30.551429Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "patrick@puiterwijk.org", "ID": "CVE-2022-40313", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "moodle", "version": { "version_data": [ { "version_value": "4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Stored XSS" } ] } ] }, "references": { "reference_data": [ { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2128146", "refsource": "MISC", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2128146" }, { "name": "https://moodle.org/mod/forum/discuss.php?d=438392", "refsource": "MISC", "url": "https://moodle.org/mod/forum/discuss.php?d=438392" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003e=3.9.0,\u003c3.9.17||\u003e=3.11.0,\u003c3.11.10||\u003e=4.0.0,\u003c4.0.4", "affected_versions": "All versions starting from 3.9.0 before 3.9.17, all versions starting from 3.11.0 before 3.11.10, all versions starting from 4.0.0 before 4.0.4", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "cwe_ids": [ "CWE-1035", "CWE-79", "CWE-937" ], "date": "2022-12-21", "description": "Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load.", "fixed_versions": [ "3.9.17", "3.11.10", "4.0.4" ], "identifier": "CVE-2022-40313", "identifiers": [ "CVE-2022-40313" ], "not_impacted": "All versions before 3.9.0, all versions starting from 3.9.17 before 3.11.0, all versions starting from 3.11.10 before 4.0.0, all versions starting from 4.0.4", "package_slug": "packagist/moodle/moodle", "pubdate": "2022-09-30", "solution": "Upgrade to versions 3.9.17, 3.11.10, 4.0.4 or above.", "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-40313", "https://moodle.org/mod/forum/discuss.php?d=438392", "https://bugzilla.redhat.com/show_bug.cgi?id=2128146" ], "uuid": "ad72c516-6c2e-4c47-a3e8-74e48a088ad0" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.9.17", "versionStartIncluding": "3.9.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.11.10", "versionStartIncluding": "3.11.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "4.0.4", "versionStartIncluding": "4.0.0", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security@elastic.co", "ID": "CVE-2022-40313" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Recursive rendering of Mustache template helpers containing user input could, in some cases, result in an XSS risk or a page failing to load." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-79" } ] } ] }, "references": { "reference_data": [ { "name": "https://moodle.org/mod/forum/discuss.php?d=438392", "refsource": "MISC", "tags": [ "Patch", "Vendor Advisory" ], "url": "https://moodle.org/mod/forum/discuss.php?d=438392" }, { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2128146", "refsource": "MISC", "tags": [ "Issue Tracking", "Third Party Advisory" ], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2128146" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 7.1, "baseSeverity": "HIGH", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "version": "3.1" }, "exploitabilityScore": 2.8, "impactScore": 3.7 } }, "lastModifiedDate": "2022-10-04T17:28Z", "publishedDate": "2022-09-30T17:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.