# CVE-2023-49277: Reflected Cross-site Scripting Vulnerability in dpaste

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2023-12-01T19:23:16.000Z
- Modified: 2026-09-10T03:50:04.708Z
- Also known as: GHSA-r8j9-5cj7-cv39, PYSEC-2026-1317
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- DarrenOfficial dpaste: < 3.8
- dpaste (PyPI): before 3.8
- darrennathanael dpaste: before 3.8

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/DarrenOfficial/dpaste/security/advisories/GHSA-r8j9-5cj7-cv39> (vendor-advisory, web)
- <https://github.com/DarrenOfficial/dpaste/commit/44a666a79b3b29ed4f340600bfcf55113bfb7086> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49277> (advisory)
- <https://github.com/DarrenOfficial/dpaste> (package)
- <https://pypi.org/project/dpaste> (package)
- <https://github.com/advisories/GHSA-r8j9-5cj7-cv39> (advisory)

## Sources

- CVE List: [CVE-2023-49277](https://www.cve.org/CVERecord?id=CVE-2023-49277), CVE Terms of Use, modified 2024-10-11
- GitHub Advisory Database: [GHSA-r8j9-5cj7-cv39](https://github.com/advisories/GHSA-r8j9-5cj7-cv39), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-49277](https://nvd.nist.gov/vuln/detail/CVE-2023-49277), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1317](https://osv.dev/vulnerability/PYSEC-2026-1317), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-49277 · Whole record: https://cve.day/CVE-2023-49277.json · Rebuilt by cve.day 2026-11-25T22:58:30.867Z
