CVE-2023-49277
MEDIUM 6.1CVSS 3.1Reflected XSS Vulnerability in dpaste
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.
- Published
- 1 Dec 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-r8j9-5cj7-cv39PYSEC-2026-1317
- Sources
- NVDJSONOSV GHSA-r8j9-5cj7-cv39JSONOSV PYSEC-2026-1317JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | darrennathanael | dpastecpe:2.3:a:darrennathanael:dpaste:*:*:*:*:*:*:*:* |
< 3.8 | 3.8 |
| OSV | PyPI | dpaste | < 3.8 | 3.8 |
References
- https://github.com/DarrenOfficial/dpaste/commit/44a666a79b3b29ed4f340600bfcf55113bfb7086 · Patch, WEB
- https://github.com/DarrenOfficial/dpaste/security/advisories/GHSA-r8j9-5cj7-cv39 · Vendor Advisory, 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
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 1 Dec 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Dec 2023)