{"id":"CVE-2019-13970","aliases":["EUVD-2022-4193","GHSA-hq75-ggc3-8h3q"],"status":"published","title":"AntSword RCE and XSS via code injection","description":"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.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01874,"percentile":0.79545,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2019-07-19T05:45:06Z","modified":"2026-10-20T10:50:43Z","fixes":[{"ecosystem":"npm","package":"antsword","fixed_in":["2.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"antsword","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}]},{"source":"osv","ecosystem":"npm","package":"antsword","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}]}],"products":[{"vendor":"antsword_project","product":"antsword"}],"references":[{"url":"https://github.com/AntSwordProject/antSword/issues/151","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/AntSwordProject/antSword/commit/4b932e81447b4b0475f4fce45525547395c249d3","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/AntSwordProject/antSword/compare/ed01dea...834063a","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13970","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hq75-ggc3-8h3q"},{"url":"https://github.com/AntSwordProject/antSword","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-13970","description":"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.","status":"published","published":"2019-07-19T05:45:06Z","modified":"2024-08-05T00:05:43.999Z","updated_at":"2026-11-02T14:20:24.357095Z"}],"euvd":[{"id":"EUVD-2022-4193","description":"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.","status":"published","published":"2019-07-19T05:45:06Z","modified":"2024-08-05T00:05:43Z","updated_at":"2026-11-03T02:40:41.590409Z"}],"ghsa":[{"id":"GHSA-hq75-ggc3-8h3q","title":"AntSword RCE and XSS via code injection","description":"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`.","status":"published","published":"2022-05-24T16:50:44Z","modified":"2023-08-25T21:44:43Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:00.680009Z"}],"nvd":[{"id":"CVE-2019-13970","description":"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.","status":"published","published":"2019-07-19T06:15:10.927Z","modified":"2026-06-17T02:17:32.107Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:05:20.616405Z"}],"osv":[{"id":"CVE-2019-13970","description":"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.","status":"published","published":"2019-07-19T06:15:10.927Z","modified":"2026-10-20T10:50:43.055871764Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:11.029493Z"},{"id":"GHSA-hq75-ggc3-8h3q","title":"AntSword RCE and XSS via code injection","description":"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`.","status":"published","published":"2022-05-24T16:50:44Z","modified":"2023-11-08T04:01:09.150432Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:49.28217Z"}]}}
