Unrestricted XML files leading to cross-site scripting in MicroweberGHSA-q3x2-jvp3-wj78
MEDIUMFix: microweber/microweber@975fc1dGHSA-q3x2-jvp3-wj78 is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in microweber/microweber. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for microweber/microweber — see the affected versions and patch details below.
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
microweber/microweberReal-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
Microweber prior to 1.2.12 allows unrestricted upload of XML files, which malicious actors can exploit to cause a stored cross-site scripting attack.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | microweber/microweber | all versions | 1.2.12composer require microweber/microweber:^1.2.12 |
Affected Products
microwebermicroweberResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for microweber/microweber, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update microweber/microweber to 1.2.12 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-q3x2-jvp3-wj78 is resolved across your whole dependency graph.
Workarounds
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-q3x2-jvp3-wj78
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-q3x2-jvp3-wj78 -u https://target- Template
- Microweber <1.2.12 - Stored Cross-Site Scripting
- Severity
- medium
- Impact
- Authenticated attackers can upload malicious XML files containing XSS payloads that execute when users access the uploaded files, potentially stealing session cookies or performing unauthorized actions.
- Remediation
- Upgrade Microweber CMS to version 1.2.12 or later to mitigate the vulnerability.
Template by ProjectDiscovery nuclei-templates (amit-jd), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-q3x2-jvp3-wj78 in your dependencies?
Find it across Packagist, including transitive dependencies.