{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-31355","id":"CVE-2021-31355","title":"Junos OS: Stored Cross-Site Scripting (XSS) vulnerability in captive portal","description":"A persistent cross-site scripting (XSS) vulnerability in the captive portal graphical user interface of Juniper Networks Junos OS may allow a remote authenticated user to inject web script or HTML and steal sensitive data and credentials from a web administration session, possibly tricking a follow-on administrative user to perform administrative actions on the device. This issue affects Juniper N","descriptionLong":"A persistent cross-site scripting (XSS) vulnerability in the captive portal graphical user interface of Juniper Networks Junos OS may allow a remote authenticated user to inject web script or HTML and steal sensitive data and credentials from a web administration session, possibly tricking a follow-on administrative user to perform administrative actions on the device. This issue affects Juniper Networks Junos OS: All versions, including the following supported releases: 12.3X48 versions prior to 12.3X48-D105; 15.1X49 versions prior to 15.1X49-D220; 18.3 versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S7; 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R3-S4; 19.4 versions prior to 19.4R3-S6; 20.1 versions prior to 20.1R3; 20.2 versions prior to 20.2R1-S1, 20.2R2; 20.3 versions prior to 20.3R2; 20.4 versions prior to 20.4R2; 21.1 versions prior to 21.1R2.","published":"2021-10-19T18:16:38.035Z","updated":"2026-06-17T03:51:36.613Z","reserved":"2021-04-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"juniper","metric":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"juniper"},"metrics":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"juniper"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"juniper.net"},{"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","rating":"medium","source":"NVD"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"high","products":["Juniper Networks Junos OS"],"affectedProducts":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":null,"versions":[{"lessThan":"12.3X48-D105","status":"affected","version":"12.3X48","versionType":"custom"},{"lessThan":"15.1X49-D220","status":"affected","version":"15.1X49","versionType":"custom"},{"lessThan":"18.3R3-S5","status":"affected","version":"18.3","versionType":"custom"},{"lessThan":"18.4R3-S9","status":"affected","version":"18.4","versionType":"custom"},{"lessThan":"19.1R3-S7","status":"affected","version":"19.1","versionType":"custom"},{"lessThan":"19.2R3-S3","status":"affected","version":"19.2","versionType":"custom"},{"lessThan":"19.3R3-S4","status":"affected","version":"19.3","versionType":"custom"},{"lessThan":"19.4R3-S6","status":"affected","version":"19.4","versionType":"custom"},{"lessThan":"20.1R3","status":"affected","version":"20.1","versionType":"custom"},{"lessThan":"20.2R1-S1, 20.2R2","status":"affected","version":"20.2","versionType":"custom"},{"lessThan":"20.3R2","status":"affected","version":"20.3","versionType":"custom"},{"lessThan":"20.4R2","status":"affected","version":"20.4","versionType":"custom"},{"lessThan":"21.1R2","status":"affected","version":"21.1","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"references":[{"url":"https://kb.juniper.net/JSA11220","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00807,"epssPercentile":0.57602,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-31355","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31355","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-31355","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-31355","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["juniper"],"critical":[],"attention":null}