{"id":"GHSA-hq75-ggc3-8h3q","summary":"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`.","aliases":["CVE-2019-13970"],"modified":"2023-11-08T04:01:09.150432Z","published":"2022-05-24T16:50:44Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-07-14T21:14:59Z","nvd_published_at":"2019-07-19T06:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13970"},{"type":"WEB","url":"https://github.com/AntSwordProject/antSword/issues/151"},{"type":"WEB","url":"https://github.com/AntSwordProject/antSword/commit/4b932e81447b4b0475f4fce45525547395c249d3"},{"type":"PACKAGE","url":"https://github.com/AntSwordProject/antSword"},{"type":"WEB","url":"https://github.com/AntSwordProject/antSword/compare/ed01dea...834063a"}],"affected":[{"package":{"name":"antsword","ecosystem":"npm","purl":"pkg:npm/antsword"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hq75-ggc3-8h3q/GHSA-hq75-ggc3-8h3q.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}