{"id":"CVE-2019-13970","aliases":["CVE-2019-13970","GHSA-hq75-ggc3-8h3q"],"related":[],"kind":"vulnerability","state":"published","title":"AntSword RCE and XSS via code injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En antSword en versiones anteriores a la 2.1.0, self-XSS en la configuración en la base de datos conduce a la ejecución de código mediante los módulos modules/database/asp/index.js, modules/database/custom/index.js, modules/database/index.js, o modules/database/php/index.js.","source":"nvd"}],"published":"2019-07-19T05:45:06.000Z","modified":"2026-06-17T02:17:32.107Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"npm","package":"antsword","purl":"pkg:npm/antsword","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.0"}],"vendor":"antsword_project","product":"antsword","cpe":"cpe:2.3:a:antsword_project:antsword:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/AntSwordProject/antSword/issues/151","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/AntSwordProject/antSword/commit/4b932e81447b4b0475f4fce45525547395c249d3","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/AntSwordProject/antSword/compare/ed01dea...834063a","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13970","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/AntSwordProject/antSword","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-13970","url":"https://www.cve.org/CVERecord?id=CVE-2019-13970","licence":"CVE Terms of Use","modified":"2024-08-05T00:05:43.999Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hq75-ggc3-8h3q","url":"https://github.com/advisories/GHSA-hq75-ggc3-8h3q","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:09.150Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-13970","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13970","licence":"Public domain","modified":"2026-06-17T02:17:32.107Z"}],"updatedAt":"2026-11-25T22:57:46.058Z","epss":{"score":0.01874,"percentile":0.79994,"date":"2026-12-01T12:00:22.000Z"}}