CVE-2021-0275
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA Cross-site Scripting (XSS) vulnerability in J-Web on Juniper Networks Junos OS allows an attacker to target another user's session thereby gaining access to the users session. The other user session must be active for the attack to succeed. Once successful, the attacker has the same privileges as the user. If the user has root privileges, the attacker may be able to gain full control of the device. This issue affects: Juniper Networks Junos OS: 12.3 versions prior to 12.3R12-S15 on EX Series; 12.3X48 versions prior to 12.3X48-D95 on SRX Series; 15.1 versions prior to 15.1R7-S6 on EX Series; 15.1X49 versions prior to 15.1X49-D200 on SRX Series; 16.1 versions prior to 16.1R7-S7; 16.2 versions prior to 16.2R2-S11, 16.2R3; 17.1 versions prior to 17.1R2-S11, 17.1R3-S2; 17.2 versions prior to 17.2R3-S3; 17.3 versions prior to 17.3R2-S5, 17.3R3-S7; 17.4 versions prior to 17.4R2-S9, 17.4R3; 18.1 versions prior to 18.1R3-S9; 18.2 versions prior to 18.2R2-S7, 18.2R3-S3; 18.3 versions prior to 18.3R1-S7, 18.3R2-S3, 18.3R3-S1; 18.4 versions prior to 18.4R1-S6, 18.4R2-S4, 18.4R3; 19.1 versions prior to 19.1R2-S1, 19.1R3; 19.2 versions prior to 19.2R1-S3, 19.2R2; 19.3 versions prior to 19.3R2.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceCross-site Scripting (XSS) vulnerability in J-Web interface of Juniper Networks Junos OS allows authenticated attackers to inject malicious scripts that target active user sessions, potentially hijacking session cookies or tokens. Successful exploitation grants the attacker the same privilege level as the targeted user, including possible root access for full device control.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 12.3= 15.1= 12.3x48= 15.1x49= 16.1= 16.2= 17.1= 17.2= 17.3= 17.4= 18.1= 18.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify if J-Web interface is enabledRun 'show system services web-management' to check the web-management configuration and confirm whether J-Web is listed as activeAffected if J-Web interface is enabled on the device (the vulnerability only applies when J-Web is active)
-
Check installed Junos OS versionRun 'show version' or 'request system version' to retrieve the exact Junos OS version installed on the deviceAffected if The installed version matches any of these: 12.3, 15.1, 12.3x48, 15.1x49, 16.1, 16.2, 17.1, 17.2, 17.3, 17.4, 18.1, or 18.2
-
Review system logs for XSS indicatorsRun 'show log messages' and search for patterns such as '<script>', 'javascript:', or 'onerror=' within web-management or J-Web related entriesAffected if Log entries contain suspicious XSS payload patterns associated with J-Web requests
-
Audit active and recent J-Web sessionsRun 'show system users' or check 'show log interactive-commands' for unexpected administrative logins via J-WebAffected if There are unauthorized J-Web sessions or suspicious session activity that does not match legitimate administrator actions
A device is affected if J-Web is enabled AND the Junos OS version matches the affected version list (12.3 through 18.2), regardless of whether exploitation is confirmed in logs.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Junos OS to the specified patched versions for each affected release train. If immediate patching is not possible, disable J-Web interface or restrict access to trusted management networks only.
12.3R12-S15 (EX), 12.3X48-D95 (SRX), 15.1R7-S6 (EX), 15.1X49-D200 (SRX), or the specific patched version for other trains as listed in the advisory
- 1. Identify the exact Junos OS version currently running on the device using 'show version' command
- 2. Determine the product series (EX Series or SRX Series) and the base version train (12.3, 15.1, 16.1, etc.)
- 3. For EX Series on 12.3: upgrade to 12.3R12-S15 or later
- 4. For SRX Series on 12.3X48: upgrade to 12.3X48-D95 or later
- 5. For EX Series on 15.1: upgrade to 15.1R7-S6 or later
- 6. For SRX Series on 15.1X49: upgrade to 15.1X49-D200 or later
- 7. For all other versions (16.1, 16.2, 17.x, 18.x, 19.x): upgrade to the specific fixed version listed in the advisory for the respective version train
- 8. Download the appropriate Junos OS upgrade image from the Juniper Networks support portal
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-0275 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2021-0275 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data