CVE-2019-25088: Oxidized web Cross-Site Scripting Vulnerability
MODERATECVE-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
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).
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.
Upgrade oxidized-web to Latest secure release
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
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?
Which Oxidized web versions are affected?
What version fixes CVE-2019-25088?
Is oxidized-web affected?
What is the CVSS score of CVE-2019-25088?
What CWE is associated with CVE-2019-25088?
How can I check RubyGems dependencies for CVE-2019-25088?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}