GHSA-6xxf-rwv4-mrjm
Stored XSS vulnerability in Jenkins Timestamper Plugin
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.jenkins-ci.plugins:timestamper | < 1.11.2 | 1.11.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
Timestamper Plugin 1.11.1 and earlier does not escape or sanitize the HTML formatting used to display the timestamps in console output for builds.
This results in a stored cross-site scripting vulnerability that can be exploited by users with Overall/Administer permission.
Timestamper Plugin 1.11.2 sanitizes the HTML formatting for timestamps and only allows basic, safe HTML formatting.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-2137
- https://github.com/jenkinsci/timestamper-plugin/commit/6637c3e599c330e03251005675beeadb46d8495b
- https://github.com/jenkinsci/timestamper-plugin
- https://jenkins.io/security/advisory/2020-03-09/#SECURITY-1784
- http://www.openwall.com/lists/oss-security/2020/03/09/1