CVE-2019-25088: Oxidized web Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-8qwh-rm6c-jv96
CVSS 5.4
CWE-79
Published
Advisory Summary

CVE-2019-25088 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Oxidized web libraries in the RubyGems ecosystem. The issue involves oxidized web vulnerable to cross-site scripting. Remediation is available in the latest vendor maintenance releases.

CVE-2019-25088 at a Glance

CVE Identifier CVE-2019-25088
GHSA Identifier GHSA-8qwh-rm6c-jv96
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Oxidized web
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2019-25088

To remediate this vulnerability, upgrade all affected Oxidized web dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

oxidized-web fixed: Latest secure release
Upgrade oxidized-web to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for oxidized-web

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-25088, inspect your project dependencies for Oxidized web:

inspect dependencies for oxidized-web

Analyze the terminal output to locate any version of Oxidized web in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Oxidized web, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was found in ytti Oxidized Web. It has been classified as problematic. Affected is an unknown function of the file `lib/oxidized/web/views/conf_search.haml`. The manipulation of the argument `to_research` leads to cross site scripting. It is possible to launch the attack remotely. The name of the patch is 55ab9bdc68b03ebce9280b8746ef31d7fdedcc45. It is recommended to apply a patch to fix this issue. VDB-216870 is the identifier assigned to this vulnerability.

CVE-2019-25088 Affected Oxidized web Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
oxidized-web
RubyGems
≤ 0.13.1

References

Frequently Asked Questions

What is CVE-2019-25088?
CVE-2019-25088 is a security vulnerability in Oxidized web involving Oxidized Web vulnerable to Cross-site Scripting under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Oxidized web versions are affected?
Affected versions include releases prior to current release patches across affected packages: oxidized-web.
What version fixes CVE-2019-25088?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is oxidized-web affected?
Yes, oxidized-web is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2019-25088?
CVE-2019-25088 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2019-25088?
CVE-2019-25088 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check RubyGems dependencies for CVE-2019-25088?
Run the dependency tree command: 'inspect dependencies for oxidized-web'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8qwh-rm6c-jv96",
  "modified" : "2024-03-01T14:22:21Z",
  "published" : "2022-12-27T12:30:20Z",
  "aliases" : [ "CVE-2019-25088" ],
  "summary" : "Oxidized Web vulnerable to Cross-site Scripting",
  "details" : "A vulnerability was found in ytti Oxidized Web. It has been classified as problematic. Affected is an unknown function of the file `lib/oxidized/web/views/conf_search.haml`. The manipulation of the argument `to_research` leads to cross site scripting. It is possible to launch the attack remotely. The name of the patch is 55ab9bdc68b03ebce9280b8746ef31d7fdedcc45. It is recommended to apply a patch to fix this issue. VDB-216870 is the identifier assigned to this vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "oxidized-web"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.13.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-25088"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ytti/oxidized-web/pull/195"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ytti/oxidized-web/commit/55ab9bdc68b03ebce9280b8746ef31d7fdedcc45"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/oxidized-web/CVE-2019-25088.yml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ytti/oxidized-web"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.216870"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.216870"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-09T20:08:56Z",
    "nvd_published_at" : "2022-12-27T10:15:00Z"
  }
}