{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-13970","id":"CVE-2019-13970","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.","descriptionLong":"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.","published":"2019-07-19T05:45:06.000Z","updated":"2026-10-20T10:50:43.055871764Z","reserved":"2019-07-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"antsword","purl":"pkg:npm/antsword","ranges":["<2.1.0"],"fixed":["2.1.0"],"advisory":"GHSA-hq75-ggc3-8h3q"}],"cwes":["CWE-79"],"aliases":["GHSA-hq75-ggc3-8h3q"],"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/AntSwordProject/antSword","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01874,"epssPercentile":0.79845,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-13970","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13970","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-13970","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hq75-ggc3-8h3q","ok":true,"note":"GHSA-hq75-ggc3-8h3q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-13970","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}