GitHub Advisory Database
GHSA-hq75-ggc3-8h3q
AntSword RCE and XSS via code injection
Details
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 versions |
|---|---|---|
| npm | antsword | All versions before 2.1.0 (fixed in 2.1.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-13970
- https://github.com/AntSwordProject/antSword/issues/151
- https://github.com/AntSwordProject/antSword/commit/4b932e81447b4b0475f4fce45525547395c249d3
- https://github.com/AntSwordProject/antSword
- https://github.com/AntSwordProject/antSword/compare/ed01dea...834063a