CVE-2023-49277Darrennathanael Dpaste
Medium 6.1 No auth needed
Follow: this CVE · Darrennathanael · Darrennathanael Dpaste We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 44
- Auth required
- No
- Published
- Dec 1, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Dpaste.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dpaste |
< 3.8 |
3.8 |
pip install "dpaste>=3.8" |
| PyPI | dpaste |
< 3.8 |
3.8 |
pip install "dpaste>=3.8" |
Per OSV / GitHub Advisories (GHSA-r8j9-5cj7-cv39, PYSEC-2026-1317). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| darrennathanael | dpaste | < 3.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory