{"id":"CVE-2020-8031","aliases":["DEBIAN-CVE-2020-8031","EUVD-2020-28943","GHSA-6g6q-c7q8-8r7m","OESA-2022-1577","UBUNTU-CVE-2020-8031"],"status":"published","title":"obs: Stored XSS","description":"A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00754,"percentile":0.55367,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-02-11T15:10:15Z","modified":"2026-10-26T12:02:33Z","fixes":[{"ecosystem":"Debian:12","package":"open-build-service","fixed_in":["2.9.4-4"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"obs-server","fixed_in":["2.10.11-1.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP2","package":"obs-server","fixed_in":["2.10.11-1.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP3","package":"obs-server","fixed_in":["2.10.11-1.oe1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"open-build-service","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.4-4"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"obs-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.11-1.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP2","package":"obs-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.11-1.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"obs-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.11-1.oe1"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"open-build-service","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.4-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"open-build-service","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.4-9","2.9.4-10"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"open-build-service","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.4-10"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"open-build-service","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.4-10"]}],"products":[{"vendor":"opensuse","product":"open build service"},{"vendor":"opensuse","product":"open_build_service"},{"vendor":"suse","product":"open build service"}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1178880","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8031","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6g6q-c7q8-8r7m"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-8031","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1577","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-8031","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-8031","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-8031","title":"obs: Stored XSS","description":"A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.","status":"published","published":"2021-02-11T15:10:15.645Z","modified":"2024-09-16T18:08:47.241Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:50.545879Z"}],"euvd":[{"id":"EUVD-2020-28943","description":"A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.","status":"published","published":"2021-02-11T15:10:15Z","modified":"2024-09-16T18:08:47Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:55:35.370742Z"}],"ghsa":[{"id":"GHSA-6g6q-c7q8-8r7m","title":"A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')...","description":"A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.","status":"published","published":"2022-05-24T17:41:53Z","modified":"2023-01-29T05:05:40Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:45:50.827495Z"}],"nvd":[{"id":"CVE-2020-8031","description":"A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.","status":"published","published":"2021-02-11T15:15:11.973Z","modified":"2026-06-17T03:25:49.49Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:34.188486Z"}],"osv":[{"id":"CVE-2020-8031","description":"A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.","status":"published","published":"2021-02-11T15:15:11.973Z","modified":"2026-03-14T01:39:20.006102Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"DEBIAN-CVE-2020-8031","description":"A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.","status":"published","published":"2021-02-11T15:15:11.973Z","modified":"2026-10-26T12:02:33.20286414Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:34.311861Z"},{"id":"OESA-2022-1577","title":"obs-server security update","description":"\r\n\r\nSecurity Fix(es):\r\n\r\nA Improper Neutralization of Input During Web Page Generation (\u0026apos;Cross-site Scripting\u0026apos;) vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.(CVE-2020-8031)","status":"published","published":"2022-03-19T11:04:51Z","modified":"2026-08-18T01:15:43.165220335Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:39.528805Z"},{"id":"UBUNTU-CVE-2020-8031","description":"A Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Open Build Service allows remote attackers to store JS code in markdown that is not properly escaped, impacting confidentiality and integrity. This issue affects: Open Build Service versions prior to 2.10.8.","status":"published","published":"2021-02-11T15:15:00Z","modified":"2026-05-20T16:04:38.573798223Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","level":"medium"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:25.728622Z"}]}}
