Cross-site scripting (XSS) vulnerability in the cgi_puts function in cgi-bin/template.c…
Priority LOW 30CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · Partial · None
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-79.
Summary
Cross-site scripting (XSS) vulnerability in the cgi_puts function in cgi-bin/template.c in the template engine in CUPS before 2.0.3 allows remote attackers to inject arbitrary web script or HTML via the QUERY parameter to help/.
Why it matters now
EPSS 0.07246 94th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 1 advisoryRed Hat: 16 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2015:1123 Released 2015-06-17 · Red Hat rating Importantcups security update
- Red Hat Enterprise Linux Client (v. 7) cups-1:1.6.3-17.el7_1.1, cups-client-1:1.6.3-17.el7_1.1, cups-filesystem-1:1.6.3-17.el7_1.1 +2
- Red Hat Enterprise Linux Client Optional (v. 7) cups-devel-1:1.6.3-17.el7_1.1, cups-ipptool-1:1.6.3-17.el7_1.1
- Red Hat Enterprise Linux ComputeNode (v. 7) cups-1:1.6.3-17.el7_1.1, cups-client-1:1.6.3-17.el7_1.1, cups-filesystem-1:1.6.3-17.el7_1.1 +2
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) cups-devel-1:1.6.3-17.el7_1.1, cups-ipptool-1:1.6.3-17.el7_1.1
- Red Hat Enterprise Linux Desktop (v. 6) cups-1:1.4.2-67.el6_6.1, cups-libs-1:1.4.2-67.el6_6.1, cups-lpd-1:1.4.2-67.el6_6.1
- Red Hat Enterprise Linux Desktop Optional (v. 6) cups-devel-1:1.4.2-67.el6_6.1, cups-php-1:1.4.2-67.el6_6.1
- Red Hat Enterprise Linux HPC Node (v. 6) cups-1:1.4.2-67.el6_6.1, cups-libs-1:1.4.2-67.el6_6.1, cups-lpd-1:1.4.2-67.el6_6.1
- Red Hat Enterprise Linux HPC Node Optional (v. 6) cups-devel-1:1.4.2-67.el6_6.1, cups-php-1:1.4.2-67.el6_6.1
- Red Hat Enterprise Linux Server (v. 6) cups-1:1.4.2-67.el6_6.1, cups-devel-1:1.4.2-67.el6_6.1, cups-devel-1:1.4.2-67.el6_6.1.ppc +3
- Red Hat Enterprise Linux Server (v. 7) cups-1:1.6.3-17.ael7b_1.1, cups-1:1.6.3-17.el7_1.1, cups-client-1:1.6.3-17.ael7b_1.1 +11
- Red Hat Enterprise Linux Server Optional (v. 6) cups-php-1:1.4.2-67.el6_6.1
- Red Hat Enterprise Linux Server Optional (v. 7) cups-ipptool-1:1.6.3-17.ael7b_1.1, cups-ipptool-1:1.6.3-17.el7_1.1
- Red Hat Enterprise Linux Workstation (v. 6) cups-1:1.4.2-67.el6_6.1, cups-devel-1:1.4.2-67.el6_6.1, cups-libs-1:1.4.2-67.el6_6.1 +1
- Red Hat Enterprise Linux Workstation (v. 7) cups-1:1.6.3-17.el7_1.1, cups-client-1:1.6.3-17.el7_1.1, cups-devel-1:1.6.3-17.el7_1.1 +3
- Red Hat Enterprise Linux Workstation Optional (v. 6) cups-php-1:1.4.2-67.el6_6.1
- Red Hat Enterprise Linux Workstation Optional (v. 7) cups-ipptool-1:1.6.3-17.el7_1.1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2015:1123 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2015:1123 |
Timeline
- 2026-10-02 Threatist record created from CVE-2015-1159
- 2026-10-03 Alias added: GHSA-pmc2-2vx8-fmwf
References
Advisory 11
More Cups vulnerabilities
- TI-2015-01053 The add_job function in scheduler/ipp.c in cupsd in CUPS before 2.0.3 performs incorrect… CVSS 2.0HIGH 10.0
- TI-2007-04211 Off-by-one error in the ippReadIO function in cups/ipp.c in CUPS 1.3.3 allows remote… CVSS 2.0HIGH 10.0
- TI-2008-00848 Double free vulnerability in the process_browse_data function in CUPS 1.3.5 allows remote… CVSS 2.0HIGH 10.0
- TI-2008-00038 Heap-based buffer overflow in the cgiCompileSearch function in CUPS 1.3.5, and other… CVSS 2.0HIGH 9.3
- TI-2014-06781 The browsing feature in the server in CUPS does not filter ANSI escape sequences from… CVSS 3.1HIGH 8.8
- TI-2018-04829 AppArmor cupsd Sandbox Bypass Due to Use of Hard Links CVSS 3.0HIGH 8.8
Sources
- CVE-2015-1159 · CVE Program
- CVE-2015-1159 · NVD
- FIRST EPSS
- GHSA-pmc2-2vx8-fmwf · GitHub Advisory Database · CC BY 4.0
- CVE-2015-1159 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences