CVE-2019-13970 json
AntSword RCE and XSS via code injection
published 7y ago modified 4mo ago also GHSA-hq75-ggc3-8h3q , EUVD-2022-4193
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm antsword 2.1.0
- antsword_project antsword 2.1.0
Is CVE-2019-13970 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.87% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/AntSwordProject/antSword/issues/151 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | antsword | <2.1.0 |
2.1.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/AntSwordProject/antSword/commit/4b932e81447b4b0475f4fce45525547395c249d3
web, patch, third-party-advisory
-
github.com
/AntSwordProject/antSword/issues/151
web, exploit, third-party-advisory
-
github.com
/AntSwordProject/antSword/compare/ed01dea...834063a
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-13970
advisory
-
github.com
/AntSwordProject/antSword
package
Sources
- CVE List CVE-2019-13970
- GitHub Advisory GHSA-hq75-ggc3-8h3q
- NVD CVE-2019-13970
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.