medium6.1
CVE-2019-13970
AntSword RCE and XSS via code injection
Impact
In antSword before 2.1.0, self-XSS in the database configuration leads to code execution via `modules/database/asp/index.js`, `modules/database/custom/index.js`, `modules/database/index.js`, or `modules/database/php/index.js`.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | antsword | < 2.1.0 | 2.1.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Antsword Project | Antsword | before 2.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/AntSwordProject/antSword/commit/4b932e81447b4b0475f4fce45525547395c249d3
- https://github.com/AntSwordProject/antSword/compare/ed01dea...834063a
- https://github.com/AntSwordProject/antSword/issues/151
- https://github.com/advisories/GHSA-hq75-ggc3-8h3q
- https://nvd.nist.gov/vuln/detail/CVE-2019-13970