GHSA-vw2c-5wph-v92r

Suggest an improvement
Source
https://github.com/advisories/GHSA-vw2c-5wph-v92r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-vw2c-5wph-v92r/GHSA-vw2c-5wph-v92r.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-vw2c-5wph-v92r
Aliases
Published
2022-05-13T01:09:20Z
Modified
2024-02-22T05:30:32.847725Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Improper Neutralization of Input During Web Page Generation in Apache CXF
Details

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.

Database specific
{
    "nvd_published_at": "2017-08-10T16:29:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-07-06T19:46:03Z"
}
References

Affected packages

Maven / org.apache.cxf:cxf-core

Package

Name
org.apache.cxf:cxf-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.cxf/cxf-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.12

Affected versions

3.*

3.0.0-milestone1
3.0.0-milestone2
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.0.8
3.0.9
3.0.10
3.0.11

Database specific

{
    "last_known_affected_version_range": "<= 3.0.11"
}

Maven / org.apache.cxf:cxf-core

Package

Name
org.apache.cxf:cxf-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.cxf/cxf-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.1.0
Fixed
3.1.9

Affected versions

3.*

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

Database specific

{
    "last_known_affected_version_range": "<= 3.1.8"
}