org.apache.axis2:axis2-openapi@2.0.1

  • latest version

    2.0.2

  • latest non vulnerable version

  • first published

    6 months ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.axis2:axis2-openapi package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the OpenAPI module's Swagger UI page, which writes a value derived from the request's Host header into an inline script block without encoding or validation. Because URI.create does not neutralize a malicious authority component, an attacker who controls the Host header can inject arbitrary script that executes in the context of the Axis2 origin.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.apache.axis2:axis2-openapi to version 2.0.2 or higher.

    [2.0.1,2.0.2)
    • M
    Forced Browsing

    Affected versions of this package are vulnerable to Forced Browsing of service metadata, because the exposeServiceMetadata parameter is enforced only on the ?wsdl, ?wsdl2, and ?xsd queries in HTTPWorker and ListingAgent. An anonymous caller can read the operation names and the request and response schemas of a service that set exposeServiceMetadata to false by requesting its metadata through an unguarded route, including the packaged .wsdl and .xsd files, the named-WSDL ?wsdl=NAME route of the standalone HTTP server, the services listing, the OpenAPI, Swagger UI and MCP catalog endpoints, WS-MetadataExchange GetMetadata, and the ping module. Only services that disabled exposeServiceMetadata are affected, since a service that leaves metadata exposed is readable by design.

    How to fix Forced Browsing?

    Upgrade org.apache.axis2:axis2-openapi to version 2.0.2 or higher.

    [2.0.0,2.0.2)