CVE-2023-31157
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 · uneditedAn Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in the Schweitzer Engineering Laboratories Real-Time Automation Controller (SEL RTAC) Web Interface could allow a remote authenticated attacker to inject and execute arbitrary script code. See SEL Service Bulletin dated 2022-11-15 for more details.
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 confidenceThis is a stored Cross-site Scripting (XSS) vulnerability in the SEL RTAC web interface where an authenticated attacker can inject malicious JavaScript code into web pages that will execute in the browsers of other users viewing those pages.
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>= r132-v0, < r150-v2>= r148-v0, < r150-v2>= r132-v0, < r150-v2>= r132-v0, < r150-v2>= r132-v0, < r150-v2>= r132-v0, < r150-v2>= r132-v0, < r150-v2>= r134-v0, < r150-v2CVSS 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
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
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.
-
Identify the SEL RTAC device modelLog into the RTAC web interface and navigate to the System Information or Device Status page. Alternatively, check the physical device label or consult your asset inventory for the exact model number (e.g., SEL 2241, SEL 3350, SEL 3505, SEL 3530, SEL 3532, SEL 3555).Affected if The device model matches one of the affected models listed in the CVE.
-
Locate the firmware version displayIn the SEL RTAC web interface, find the firmware version information typically displayed on the main dashboard, under System Setup > System Information, or in the About/Help section. The version will appear in the format rXXX-vY.Affected if This step enables version comparison.
-
Compare installed firmware version against affected rangesCheck if your installed version falls within any of these ranges: r132-v0 through r149-vX (for models r132-v0 start), or r134-v0 through r149-vX (for SEL 3555), or r148-v0 through r149-vX (for SEL 3350). Versions r150-v2 and later are not affected.Affected if The installed version is greater than or equal to the lower bound AND less than r150-v2 for your specific model.
-
Verify the web interface is accessibleConfirm the RTAC web interface is reachable on your network by attempting to access the device IP or hostname in a browser. Check if HTTP/HTTPS ports (typically 80/443 or 8080) are open via a port scan.Affected if The web interface is exposed and accessible to network attackers.
-
Review web interface user access controlsExamine the user accounts configured on the RTAC device under User Management or Access Control settings. Determine if there are any accounts with lower trust levels or if authentication is enforced for all web page interactions.Affected if Untrusted or unauthenticated users have access to the web interface where injected scripts could execute in other users' browsers.
You are affected if your SEL RTAC device model and installed firmware version fall within the listed ranges and the web interface is accessible to users who could inject malicious scripts.
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 · scopedApply the vendor firmware update from SEL Service Bulletin (2022-11-15) when available. In the interim, restrict web interface access to trusted users only and implement network segmentation to limit exposure.
SEL RTAC Firmware r150-v2 (or any later stable release)
- 1. Backup the current SEL RTAC device configuration before performing any firmware update.
- 2. Obtain the firmware version r150-v2 or later from the official SEL (Schweitzer Engineering Laboratories) download portal.
- 3. Verify the firmware file integrity using checksums provided by SEL.
- 4. Access the SEL RTAC Web Interface using an authenticated account with administrative privileges.
- 5. Navigate to the firmware upgrade section (typically under System Administration or Maintenance).
- 6. Upload and apply the r150-v2 firmware file to the device.
- 7. After the upgrade completes, verify the device is functioning normally and the new firmware version is installed.
- 8. Confirm the vulnerability is remediated by checking that the XSS payload is no longer executable.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-31157 — 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-2023-31157 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