{"id":"CVE-2023-49277","aliases":["CVE-2023-49277","GHSA-r8j9-5cj7-cv39","PYSEC-2026-1317"],"related":[],"kind":"vulnerability","state":"published","title":"Reflected Cross-site Scripting Vulnerability in dpaste","summary":"dpaste is an open source pastebin application written in Python using the Django framework. A security vulnerability has been identified in the expires parameter of the dpaste API, allowing for a POST Reflected XSS attack. This vulnerability can be exploited by an attacker to execute arbitrary JavaScript code in the context of a user's browser, potentially leading to unauthorized access, data theft, or other malicious activities. Users are strongly advised to upgrade to dpaste release v3.8 or later versions, as dpaste versions older than v3.8 are susceptible to the identified security vulnerability. No known workarounds have been identified, and applying the patch is the most effective way to remediate the vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"dpaste is an open source pastebin application written in Python using the Django framework. A security vulnerability has been identified in the expires parameter of the dpaste API, allowing for a POST Reflected XSS attack. This vulnerability can be exploited by an attacker to execute arbitrary JavaScript code in the context of a user's browser, potentially leading to unauthorized access, data theft, or other malicious activities. Users are strongly advised to upgrade to dpaste release v3.8 or later versions, as dpaste versions older than v3.8 are susceptible to the identified security vulnerability. No known workarounds have been identified, and applying the patch is the most effective way to remediate the vulnerability.","source":"cvelist"},{"lang":"en","text":"### Impact\nA security vulnerability has been identified in the expires parameter of the dpaste API, allowing for a POST Reflected XSS attack. This vulnerability can be exploited by an attacker to execute arbitrary JavaScript code in the context of a user's browser, potentially leading to unauthorized access, data theft, or other malicious activities.\n\n### Patches\n- A patch has been applied to the dpaste GitHub repository to address the specific content value injection vulnerability.\n- Users are strongly advised to upgrade to dpaste release v3.8 or later versions, as dpaste versions older than v3.8 are susceptible to the identified security vulnerability.\n- The patch can be viewed and applied from the following link: [dpaste Commit Patch](https://github.com/DarrenOfficial/dpaste/commit/44a666a79b3b29ed4f340600bfcf55113bfb7086.patch)\n\n### Workarounds\nAt this time, the recommended course of action is to apply the provided patch to the affected systems. No known workarounds have been identified, and applying the patch is the most effective way to remediate the vulnerability.","format":"markdown","source":"ghsa"},{"lang":"es","text":"dpaste es una aplicación de Pastebin de código abierto escrita en Python utilizando el framework Django. Se ha identificado una vulnerabilidad de seguridad en el parámetro de caducidad de la API dpaste, lo que permite un ataque POST Reflected XSS. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código JavaScript arbitrario en el contexto del navegador de un usuario, lo que podría provocar acceso no autorizado, robo de datos u otras actividades maliciosas. Se recomienda encarecidamente a los usuarios que actualicen a la versión v3.8 de dpaste o versiones posteriores, ya que las versiones de dpaste anteriores a la v3.8 son susceptibles a vulnerabilidad de seguridad identificada. No se han identificado workarounds conocidos y aplicar el parche es la forma más eficaz de remediar la vulnerabilidad.","source":"nvd"}],"published":"2023-12-01T19:23:16.000Z","modified":"2026-09-10T03:50:04.708Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 3.8","status":"affected"}],"vendor":"DarrenOfficial","product":"dpaste","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.8"}],"ecosystem":"PyPI","package":"dpaste","purl":"pkg:pypi/dpaste","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.8"}],"vendor":"darrennathanael","product":"dpaste","cpe":"cpe:2.3:a:darrennathanael:dpaste:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.8"}],"ecosystem":"PyPI","package":"dpaste","purl":"pkg:pypi/dpaste","source":"pysec"}],"references":[{"url":"https://github.com/DarrenOfficial/dpaste/security/advisories/GHSA-r8j9-5cj7-cv39","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/DarrenOfficial/dpaste/commit/44a666a79b3b29ed4f340600bfcf55113bfb7086","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49277","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/DarrenOfficial/dpaste","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/dpaste","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-r8j9-5cj7-cv39","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-11T17:51:29.739Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-49277","url":"https://www.cve.org/CVERecord?id=CVE-2023-49277","licence":"CVE Terms of Use","modified":"2024-10-11T17:55:30.833Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r8j9-5cj7-cv39","url":"https://github.com/advisories/GHSA-r8j9-5cj7-cv39","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:04.708Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-49277","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49277","licence":"Public domain","modified":"2026-06-17T06:35:44.803Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1317","url":"https://osv.dev/vulnerability/PYSEC-2026-1317","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:39.459Z"}],"updatedAt":"2026-11-25T22:58:30.867Z","epss":{"score":0.00517,"percentile":0.45463,"date":"2026-12-01T12:00:22.000Z"}}