Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-6812

The HTTP transport module in Apache CXF prior to 3.0.12 and 3.1.x prior to 3.1.9 uses FormattedServiceListWriter to provide an HTML page which lists the names and absolute URL addresses of the available service endpoints. The module calculates the base URL using the current HttpServletRequest. The calculated base URL is used by FormattedServiceListWriter to build the service endpoint absolute URLs. If the unexpected matrix parameters have been injected into the request URL then these matrix parameters will find their way back to the client in the services list page which represents an XSS risk to the client.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-6812
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:21 UTC · Revision 1

Source evidence

CVE-2016-6812

core-osv · Original source

Published 10 Aug 2017, 16:29 UTC

The HTTP transport module in Apache CXF prior to 3.0.12 and 3.1.x prior to 3.1.9 uses FormattedServiceListWriter to provide an HTML page which lists the names and absolute URL addresses of the available service endpoints. The module calculates the base URL using the current HttpServletRequest. The calculated base URL is used by FormattedServiceListWriter to build the service endpoint absolute URLs. If the unexpected matrix parameters have been injected into the request URL then these matrix parameters will find their way back to the client in the services list page which represents an XSS risk to the client.

osv:CVE-2016-6812
Complete source record
{
  "id": "cfaf188c29290bfa70278e852a03c37bb2e6935857490d7269e20ceba3509778",
  "url": "https://osv.dev/vulnerability/CVE-2016-6812",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-6812",
    "summary": "The HTTP transport module in Apache CXF prior to 3.0.12 and 3.1.x prior to 3.1.9 uses FormattedServiceListWriter to provide an HTML page which lists the names and absolute URL addresses of the available service endpoints. The module calculates the base URL using the current HttpServletRequest. The calculated base URL is used by FormattedServiceListWriter to build the service endpoint absolute URLs. If the unexpected matrix parameters have been injected into the request URL then these matrix parameters will find their way back to the client in the services list page which represents an XSS risk to the client.",
    "evidence": "osv:CVE-2016-6812",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2016-6812",
      "aliases": [
        "CVE-2016-6812",
        "GHSA-vw2c-5wph-v92r"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/cxf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "6c7df35913ce3fc6ec8f5dc6c6074b187f751aa6"
                },
                {
                  "introduced": "a04a1e06f7fffc5f145e33c6832f31b04782516b"
                },
                {
                  "last_affected": "32a346e82042e99336732056e2ec81ebc27f075e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.0.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:3.1.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.0"
                      },
                      {
                        "last_affected": "3.1.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:3.1.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.1"
                      },
                      {
                        "last_affected": "3.1.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:3.1.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.2"
                      },
                      {
                        "last_affected": "3.1.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:3.1.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.3"
                      },
                      {
                        "last_affected": "3.1.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:3.1.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.4"
                      },
                      {
                        "last_affected": "3.1.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:3.1.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.5"
                      },
                      {
                        "last_affected": "3.1.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:3.1.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.6"
                      },
                      {
                        "last_affected": "3.1.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:3.1.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.7"
                      },
                      {
                        "last_affected": "3.1.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:3.1.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.8"
                      },
                      {
                        "last_affected": "3.1.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.1.0",
            "3.1.1",
            "3.1.2",
            "3.1.3",
            "3.1.4",
            "3.1.5",
            "3.1.6",
            "3.1.7",
            "3.1.8",
            "cxf-3.1.8",
            "cxf-3.0.11",
            "cxf-3.1.7",
            "cxf-3.0.10",
            "cxf-3.0.9",
            "cxf-3.1.6",
            "cxf-3.0.8",
            "cxf-3.1.5",
            "cxf-3.1.4",
            "cxf-3.0.7",
            "cxf-3.1.3",
            "cxf-3.1.2",
            "cxf-3.0.6",
            "cxf-3.1.1",
            "cxf-3.1.0",
            "cxf-3.0.5",
            "cxf-3.0.4",
            "cxf-3.0.3",
            "cxf-3.0.2",
            "cxf-3.0.0",
            "cxf-3.0.0-milestone2",
            "cxf-2.7.2",
            "cxf-2.7.1",
            "cxf-2.7.0",
            "cxf-2.6.1",
            "cxf-2.6.0",
            "cxf-2.5.1",
            "cxf-2.5.0",
            "cxf-2.4.0",
            "cxf-2.3.0",
            "cxf-2.2.2",
            "cxf-2.2.1",
            "cxf-2.2",
            "cxf-2.1.2",
            "cxf-2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6812.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:17.633282439Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E",
        "https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E",
        "https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E",
        "https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E",
        "https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E",
        "https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E",
        "https://access.redhat.com/errata/RHSA-2017:0868",
        "https://issues.apache.org/jira/browse/CXF-6216"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-6812",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429607,
  "published_at": "2017-08-10T16:29:00.657+00:00"
}