Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dpaste
  4. ›
  5. CVE-2023-49277

CVE-2023-49277: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

December 1, 2023

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.

References

  • github.com/DarrenOfficial/dpaste/commit/44a666a79b3b29ed4f340600bfcf55113bfb7086
  • github.com/DarrenOfficial/dpaste/security/advisories/GHSA-r8j9-5cj7-cv39
  • github.com/advisories/GHSA-r8j9-5cj7-cv39
  • nvd.nist.gov/vuln/detail/CVE-2023-49277

Code Behaviors & Features

Detect and mitigate CVE-2023-49277 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.8

Fixed versions

  • 3.8

Solution

Upgrade to version 3.8 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/dpaste/CVE-2023-49277.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:01 +0000.