CVE-2018-16887 json
katello Cross-site Scripting vulnerability
published 2019-01-13 7 y ago modified 2026-06-17 4 mo ago also GHSA-mhhc-r88h-2qrm , EUVD-2022-4568
- cvss
- 5.4
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
A cross-site scripting (XSS) flaw was found in the katello component of Satellite. An attacker with privilege to create/edit organizations and locations is able to execute a XSS attacks against other users through the Subscriptions or the Red Hat Repositories wizards. This can possibly lead to malicious code execution and extraction of the anti-CSRF token of higher privileged users. Versions before 3.9.0 are vulnerable.
Patch / fix
- rubygems katello 3.9.0
- theforeman katello 3.9.0
- v8 satellite capsule 6.5 1:3.14.5.10-19.el7sat
- tfm satellite capsule 6.5, satellite 6.5 5.0-3.el7sat
- kobo satellite capsule 6.5, satellite 6.5 0.5.1-1.el7sat
- pulp satellite capsule 6.5, satellite 6.5 2.18.1.1-1.el7sat
- gofer satellite capsule 6.5, satellite 6.5 2.12.5-3.el7sat
- ostree satellite capsule 6.5, satellite 6.5 2017.1-2.atomic.el7
- SOAPpy satellite capsule 6.5, satellite 6.5 0.11.6-17.el7
- foreman satellite capsule 6.5, satellite 6.5 1.20.1.34-1.el7sat
red hat advisories RHSA-2019:1222
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-16887 updated cvss 5.4
katello: stored XSS in subscriptions and repositories pages
-
Red Hat Satellite 6.5 tfm 5.0-3.el7sat, kobo 0.5.1-1.el7sat, SOAPpy 0.11.6-17.el7, gofer 2.12.5-3.el7sat, liquibase 3.1.0-1.el7, pulp 2.18.1.1-1.el7sat, +397 more Red Hat Satellite Capsule 6.5 tfm 5.0-3.el7sat, kobo 0.5.1-1.el7sat, SOAPpy 0.11.6-17.el7, gofer 2.12.5-3.el7sat, pulp 2.18.1.1-1.el7sat, tfm-ror52 1.0-4.el7sat, +212 morefixed: vendor fix RHSA-2019:1222
-
Red Hat Subscription Asset Manager katellonot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.00% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16887 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | katello | <3.9.0 |
3.9.0 |
Affected products
- The Katello Project katello
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-16887
web, exploit, issue-tracking, patch, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1222
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2018-16887
advisory
-
github.com
/Katello/katello
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/katello/CVE-2018-16887.yml
web
Sources
- CVE List CVE-2018-16887
- GitHub Advisory GHSA-mhhc-r88h-2qrm
- NVD CVE-2018-16887
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.