Cross-site scripting in application/controllers/dropbox.php in JustWritingGHSA-gxmc-5wj3-jx64
MEDIUMGHSA-gxmc-5wj3-jx64 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in hjue/justwriting. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
hjue/justwritingReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Cross-site scripting (XSS) vulnerability in application/controllers/dropbox.php in JustWriting 1.0.0 and below allow remote attackers to inject arbitrary web script or HTML via the challenge parameter.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | hjue/justwriting | all versions | No fix |
Affected Products
justwritingjustwriting_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for hjue/justwriting, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
The records we use list no patched version of hjue/justwriting for GHSA-gxmc-5wj3-jx64. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.
Mitigate without a patch
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
How to detect GHSA-gxmc-5wj3-jx64
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-gxmc-5wj3-jx64 -u https://target- Template
- JustWriting - Cross-Site Scripting
- Severity
- medium
- Impact
- Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to session hijacking, defacement, or theft of sensitive information.
- Remediation
- Upgrade to the latest version to mitigate this vulnerability.
Template by ProjectDiscovery nuclei-templates (madrobot), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-gxmc-5wj3-jx64 in your dependencies?
Find it across Packagist, including transitive dependencies.