{"schemaVersion":4,"id":"CVE-2022-4728","aliases":["GHSA-3c5x-4hvx-qrrr","PYSEC-2026-818","UBUNTU-CVE-2022-4728","DEBIAN-CVE-2022-4728"],"status":"published","duplicateOf":null,"title":"Graphite Web Cookie cross site scripting","description":"A vulnerability has been found in Graphite Web and classified as problematic. This vulnerability affects unknown code of the component Cookie Handler. The manipulation leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 2f178f490e10efc03cd1d27c72f64ecab224eb23. It is recommended to apply a patch to fix this issue. VDB-216742 is the identifier assigned to this vulnerability.","dates":{"published":"2022-12-24T00:00:00.000Z","modified":"2025-04-10T20:11:56.308Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":5.9,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":5.9,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":5.9,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00833,"percentile":0.5893,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.010000000000000113,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00823},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00771,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00793,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00909,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00909,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00909,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00909,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0084,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0084,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00833,"percentile":0.5893}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00823,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00909,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00909,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00909,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00909,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0084,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0084,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00833,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00833,"percentile":0.5893}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_GRAPHITE-PROJECT_GRAPHITE-WEB","name":"Graphite Web","source":"github","url":"https://github.com/graphite-project/graphite-web/blob/master/docs/releases/0_9_11.rst","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-707","name":"Improper Neutralization","description":"The product does not ensure or incorrectly ensures that structured messages or data are well-formed and that certain security properties are met before being used when received from an upstream component, or before being sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/707.html"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"debian","product":"graphite-web","name":"graphite-web","label":"graphite-web","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/graphite-web","purlType":"deb","versions":[{"text":"< 1.1.8-1.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.1.8-1.1","endInclusive":false}}],"versionsText":"< 1.1.8-1.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"graphite-web","name":"graphite-web","label":"graphite-web","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/graphite-web","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 0.9.12+debian-3ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.9.12+debian-3ubuntu0.1~esm2","endInclusive":false}},{"text":"< 0.9.15+debian-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.9.15+debian-1ubuntu0.1~esm1","endInclusive":false}},{"text":"< 1.0.2+debian-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.0.2+debian-2ubuntu0.1~esm1","endInclusive":false}},{"text":"< 1.1.4-5ubuntu0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.1.4-5ubuntu0.1","endInclusive":false}},{"text":"< 1.1.8-1ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.1.8-1ubuntu0.22.04.1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 0.9.12+debian-3ubuntu0.1~esm2 | < 0.9.15+debian-1ubuntu0.1~esm1 | < 1.0.2+debian-2ubuntu0.1~esm1 | < 1.1.4-5ubuntu0.1 | < 1.1.8-1ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"graphite_project","product":"graphite","name":"graphite","label":"graphite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"unspecified"}}],"versionsText":"na","eol":null,"hubHref":"/vendor/graphite_project/graphite"},{"vendor":"graphite","product":"web","name":"Web","label":"web","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"n/a","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"unspecified"}}],"versionsText":"n/a","eol":null,"hubHref":"/vendor/graphite/web"},{"vendor":"PyPI","product":"graphite-web","name":"graphite-web","label":"graphite-web","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/graphite-web","purlType":"pypi","versions":[{"text":"≤ 1.1.10","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.1.10","endInclusive":true}}],"versionsText":"≤ 1.1.10","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/graphite-project/graphite-web/issues/2744","label":"github.com/graphite-project/graphite-web/issues/2744","hostname":"github.com","tags":["WEB","REPORT","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/graphite-project/graphite-web/pull/2785","label":"github.com/graphite-project/graphite-web/pull/2785","hostname":"github.com","tags":["WEB","REPORT","Patch","Third Party Advisory"]},{"url":"https://github.com/graphite-project/graphite-web/commit/2f178f490e10efc03cd1d27c72f64ecab224eb23","label":"github.com/graphite-project/graphite-web/commit/2f178f490e10efc03cd1d27c72f64ecab224eb23","hostname":"github.com","tags":["WEB","REPORT","Patch","Third Party Advisory"]},{"url":"https://vuldb.com/?id.216742","label":"vuldb.com?id.216742","hostname":"vuldb.com","tags":["WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4728","label":"nvd.nist.gov/vuln/detail/CVE-2022-4728","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/graphite-project/graphite-web","label":"github.com/graphite-project/graphite-web","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/graphite-web","label":"pypi.org/project/graphite-web","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-3c5x-4hvx-qrrr","label":"github.com/advisories/GHSA-3c5x-4hvx-qrrr","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-4728","label":"ubuntu.com/security/CVE-2022-4728","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6243-1","label":"ubuntu.com/security/notices/USN-6243-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4728","label":"www.cve.org/CVERecord?id=CVE-2022-4728","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-4728","label":"security-tracker.debian.org/tracker/CVE-2022-4728","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3309-1","USN-6243-1"],"duplicates":[],"related":["USN-6243-1"]},"timeline":[{"kind":"published","date":"2022-12-24T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-10T20:11:56.308Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,1,1,35],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00833,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-04-10T20:11:56.308Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2025-04-10T20:11:56.308Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2025-04-10T20:11:56.308Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2025-04-10T20:11:56.308Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-04-10T20:11:56.308Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-04-09T17:15:05.503Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"},{"type":"exploit","source":"github","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false}],"epss":{"value":0.00833,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T05:02:50.511Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T05:02:51.052Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T05:02:51.313Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T05:00:54.010Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T05:02:48.843Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T05:02:47.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T05:14:51.423Z","stale":false,"partial":false}}