GHSA-xqqw-cqjp-52xm

Suggest an improvement
Source
https://github.com/advisories/GHSA-xqqw-cqjp-52xm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xqqw-cqjp-52xm/GHSA-xqqw-cqjp-52xm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xqqw-cqjp-52xm
Aliases
Published
2022-05-24T16:56:45Z
Modified
2023-11-08T04:00:50.072318Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Jenkins Log Parser Plugin vulnerable to Cross-site Scripting
Details

Log Parser Plugin did not escape an error message shown when log parsing patterns are invalid. This resulted in a persisted cross-site scripting vulnerability exploitable by attackers able to control the log parsing rules configuration, typically users with Job/Configure permission.

Jenkins applies the missing escaping by default since 2.146 and LTS 2.138.2, so newer Jenkins releases are not affected by this vulnerability.

Log Parser Plugin version 2.1 escapes all variables displayed in its views.

Database specific
{
    "nvd_published_at": "2019-09-25T16:15:00Z",
    "github_reviewed_at": "2023-02-23T19:40:09Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Maven / org.jenkins-ci.plugins:log-parser

Package

Name
org.jenkins-ci.plugins:log-parser
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/log-parser

Affected ranges

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

Affected versions

2.*

2.0