{"id":"CVE-2018-20302","aliases":["GHSA-5chx-gg25-v37m"],"url":"https://o3.security/vulnerability/CVE-2018-20302","summary":"Cross-site Scripting in xain","details":"XSS is possible via the use of the order query parameter. An example request\n  would look like:\n  ```\n  http://host/ressources?order=%27><script>alert(1);</script>\n  ```","published":"2018-12-20T00:29:00.303Z","modified":"2026-07-08T18:17:50.675419Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.01119,"percentile":0.63164,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Hex","name":"xain","fixedVersion":"0.6.2"}],"fix":null,"references":[{"type":"FIX","url":"https://github.com/smpallen99/xain/issues/18"},{"type":"EVIDENCE","url":"https://github.com/dependabot/elixir-security-advisories/blob/master/packages/xain/2018-09-03.yml"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20302"},{"type":"PACKAGE","url":"https://github.com/smpallen99/xain"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T18:17:50.675419Z"}}