{"schemaVersion":3,"id":"CVE-2018-16861","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"A cross-site scripting (XSS) flaw was found in the foreman component of satellite. An attacker with privilege to create entries using the Hosts, Monitor, Infrastructure, or Administer Menus is able to execute a XSS attacks against other users, possibly leading to malicious code execution and extraction of the anti-CSRF token of higher privileged users. Foreman before 1.18.3, 1.19.1, and 1.20.0 are vulnerable.","dates":{"published":"2018-12-07T19:00:00.000Z","modified":"2024-08-05T10:32:54.072Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.6,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.6,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":4.8,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00878,"percentile":0.58304,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00878},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00878,"percentile":0.58304}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01165,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00878,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00878,"percentile":0.58304}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"the foreman project","product":"foreman","name":"foreman","label":"foreman","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.18.3","noFixRecorded":false,"fixedIn":null},{"text":"1.19.1","noFixRecorded":false,"fixedIn":null},{"text":"1.20.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.18.3 | 1.19.1 | 1.20.0","eol":null,"hubHref":"/vendor/the_foreman_project/foreman"},{"vendor":"theforeman","product":"foreman","name":"foreman","label":"foreman","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.18.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.19.0, < 1.19.1","noFixRecorded":false,"fixedIn":null},{"text":"1.20.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"1.20.0:rc2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.18.3 | ≥ 1.19.0, < 1.19.1 | 1.20.0:rc1 | 1.20.0:rc2","eol":{"isEol":true,"eolDate":"2019-07-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"1.20","label":"1.20","eolFrom":"2019-07-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"1.20.3"},"product":{"name":"foreman","label":"Foreman","category":"server-app"}},"hubHref":"/vendor/theforeman/foreman"}],"affectedCount":2,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16861","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16861","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1222","label":"access.redhat.com/errata/RHSA-2019:1222","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]}],"lineage":{"upstream":[],"downstream":["RHSA-2019:1222"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-12-07T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T10:32:54.072Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T08:40:04.464Z","stale":false,"partial":false}}