Reflected Cross-site Scripting Vulnerability in dpaste
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DarrenOfficial | dpaste | before 3.8 | 3.8 | Patch available | CNA |
| — | Dpaste (PyPI) | before 3.8 | 3.8 | Patch available | GHSA-r8j9-5cj7-cv39 |
- dpaste VendorDarrenOfficial Affected before 3.8 Fixed in 3.8 Patch available CNA
- Dpaste (PyPI) Vendor— Affected before 3.8 Fixed in 3.8 Patch available GHSA-r8j9-5cj7-cv39
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:darrennathanael:dpaste:*:*:*:*:*:*:*:* | before 3.8 | Vulnerable | Darrennathanael |
- cpe:2.3:a:darrennathanael:dpaste:*:*:*:*:*:*:*:* Versions before 3.8 Vulnerable ·Darrennathanael
Remediation
- Fix · CNA dpaste (DarrenOfficial) Fixed in 3.8
- Fix · GHSA-r8j9-5cj7-cv39 Dpaste (PyPI) Fixed in 3.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-49277
- 2026-10-03 Alias added: GHSA-r8j9-5cj7-cv39
References
Sources
- CVE-2023-49277 · CVE Program
- CVE-2023-49277 · NVD
- FIRST EPSS
- GHSA-r8j9-5cj7-cv39 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences