SecurityContext

CVE-2023-49277: dpaste - Reflected XSS

  • Cve: CVE-2023-49277
  • Name: dpaste - Reflected XSS
  • 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.
  • Impact: Attackers can execute arbitrary scripts in users' browsers, leading to data theft, session hijacking, or unauthorized actions.
  • Remediation: Upgrade to dpaste version 3.8 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Exploit requires sending crafted POST requests.
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00517
  • Epss percentile: 0.44845
  • Assignee: [email protected]
  • Published at: 2023-12-01T21:15:08Z
  • Age in days: 1089
  • Modified at: 2026-06-17T06:35:44Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-49277
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://github.com/DarrenOfficial/dpaste/commit/44a666a79b3b29ed4f340600bfcf55113bfb7086nvdPatch
https://github.com/DarrenOfficial/dpaste/security/advisories/GHSA-r8j9-5cj7-cv39nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
darrennathanael:dpaste< 3.8nonvd/v1/products/darrennathanael/dpaste

Projects

RepositoryLink kindsIndexedUrl
DarrenOfficial/dpastecommit, fix, package, security_advisoryyes/v1/repositories/DarrenOfficial/dpaste

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts