CVE-2018-18774: XSS in CentOS Web Panel admin/index.php module parameter
- Vendor
- Control Web Panel
CentOS Web Panel (CWP) through version 0.9.8.740 contains a cross-site scripting (XSS) vulnerability in the admin/index.php file, specifically in the handling of the 'module' parameter. Unsanitized user input in this parameter is reflected in the output, allowing attackers to inject arbitrary JavaScript code.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the administrator's browser session. This can lead to session hijacking, credential theft, or other actions performed with the privileges of the authenticated user.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, restrict access to the admin interface to trusted IP addresses, use web application firewalls to filter malicious input, and ensure that users do not click on untrusted links while authenticated to the admin panel.
Remediation
Patch, then assume compromise.
Upgrade CentOS Web Panel to a version after 0.9.8.740 where input validation and output encoding for the 'module' parameter in admin/index.php have been properly implemented to prevent XSS.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-18774 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2018-18774 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2018-18774?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2018-18774.
- Is there a patch for CVE-2018-18774?
- Upgrade CentOS Web Panel to a version after 0.9.8.740 where input validation and output encoding for the 'module' parameter in admin/index.php have been properly implemented to prevent XSS.
- What products are affected by CVE-2018-18774?
- Control Web Panel Webpanel.
- How severe is CVE-2018-18774?
- CVE-2018-18774 has a CVSS v3 score of 6.1 (Medium) and an EPSS score of 4.8% (92nd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.