GHSA-r8j9-5cj7-cv39

Suggest an improvement
Source
https://github.com/advisories/GHSA-r8j9-5cj7-cv39
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-r8j9-5cj7-cv39/GHSA-r8j9-5cj7-cv39.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-r8j9-5cj7-cv39
Aliases
Related
Published
2023-12-01T19:23:16Z
Modified
2023-12-07T23:16:42.600589Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Reflected XSS Vulnerability in dpaste
Details

Impact

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.

Patches

  • A patch has been applied to the dpaste GitHub repository to address the specific content value injection vulnerability.
  • 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.
  • The patch can be viewed and applied from the following link: dpaste Commit Patch

Workarounds

At this time, the recommended course of action is to apply the provided patch to the affected systems. No known workarounds have been identified, and applying the patch is the most effective way to remediate the vulnerability.

Database specific
{
    "nvd_published_at": "2023-12-01T21:15:08Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-12-01T19:23:16Z"
}
References

Affected packages

PyPI / dpaste

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8

Affected versions

2.*

2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13a0
2.13

3.*

3.0
3.1
3.2
3.3
3.3.1
3.4
3.5