# Improper Neutralization of Input During Web Page Generation

CVE record · `CVE-2023-31158`

- **Identifiers:** `CVE-2023-31158`
- **State:** Confirmed
- **Severity:** CVSS 4.3 Medium
- **Critical:** No
- **CNA:** SEL
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Technologies:** [Schweitzer Engineering Laboratories SEL-3505](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-3505.md) · [Schweitzer Engineering Laboratories SEL-3505-3](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-3505-3.md) · [Schweitzer Engineering Laboratories SEL-3530](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-3530.md) · [Schweitzer Engineering Laboratories SEL-3530-4](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-3530-4.md) · [Schweitzer Engineering Laboratories SEL-3532](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-3532.md) · [Schweitzer Engineering Laboratories SEL-3555](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-3555.md) · [Schweitzer Engineering Laboratories SEL-3560S](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-3560s.md) · [Schweitzer Engineering Laboratories SEL-3560E](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-3560e.md) · [Schweitzer Engineering Laboratories SEL-2241 RTAC module](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-2241-rtac-module.md) · [Schweitzer Engineering Laboratories SEL-3350](https://agentprime.io/advisories/technology/schweitzer-engineering-laboratories-sel-3350.md)
- **Published:** 10 May 2023
- **Updated:** 24 Jan 2025
- **Reviewed by a person:** No

Published by the CVE Program (CNA: SEL) at 10 May 2023, 19:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Schweitzer Engineering Laboratories. Product: SEL-3505.
  - affected: `R132-V0 to before R150-V2` (custom)
  - affected: `R132-V0 to before R149-V4` (custom)
  - affected: `R132-V0 to before R148-V7` (custom)
  - affected: `R132-V0 to before R147-V6` (custom)
  - Other versions: unaffected
- Vendor: Schweitzer Engineering Laboratories. Product: SEL-3505-3.
  - affected: `R132-V0 to before R150-V2` (custom)
  - affected: `R132-V0 to before R149-V4` (custom)
  - affected: `R132-V0 to before R148-V7` (custom)
  - affected: `R132-V0 to before R147-V6` (custom)
  - Other versions: unaffected
- Vendor: Schweitzer Engineering Laboratories. Product: SEL-3530.
  - affected: `R132-V0 to before R150-V2` (custom)
  - affected: `R132-V0 to before R149-V4` (custom)
  - affected: `R132-V0 to before R148-V7` (custom)
  - affected: `R132-V0 to before R147-V6` (custom)
  - Other versions: unaffected
- Vendor: Schweitzer Engineering Laboratories. Product: SEL-3530-4.
  - affected: `R132-V0 to before R150-V2` (custom)
  - affected: `R132-V0 to before R149-V4` (custom)
  - affected: `R132-V0 to before R148-V7` (custom)
  - affected: `R132-V0 to before R147-V6` (custom)
  - Other versions: unaffected
- Vendor: Schweitzer Engineering Laboratories. Product: SEL-3532.
  - affected: `R132-V0 to before R150-V2` (custom)
  - affected: `R132-V0 to before R149-V4` (custom)
  - affected: `R132-V0 to before R148-V7` (custom)
  - affected: `R132-V0 to before R147-V6` (custom)
  - Other versions: unaffected
- Vendor: Schweitzer Engineering Laboratories. Product: SEL-3555.
  - affected: `R134-V0 to before R150-V2` (custom)
  - affected: `R134-V0 to before R149-V4` (custom)
  - affected: `R134-V0 to before R148-V7` (custom)
  - affected: `R134-V0 to before R147-V6` (custom)
  - Other versions: unaffected
- Vendor: Schweitzer Engineering Laboratories. Product: SEL-3560S.
  - affected: `R144-V2 to before R150-V2` (custom)
  - affected: `R144-V2 to before R149-V4` (custom)
  - affected: `R144-V2 to before R148-V7` (custom)
  - affected: `R144-V2 to before R147-V6` (custom)
  - Other versions: unaffected
- Vendor: Schweitzer Engineering Laboratories. Product: SEL-3560E.
  - affected: `R144-V2 to before R150-V2` (custom)
  - affected: `R144-V2 to before R149-V4` (custom)
  - affected: `R144-V2 to before R148-V7` (custom)
  - affected: `R144-V2 to before R147-V6` (custom)
  - Other versions: unaffected
- Vendor: Schweitzer Engineering Laboratories. Product: SEL-2241 RTAC module.
  - affected: `R132-V0 to before R150-V2` (custom)
  - affected: `R132-V0 to before R149-V4` (custom)
  - affected: `R132-V0 to before R148-V7` (custom)
  - affected: `R132-V0 to before R147-V6` (custom)
  - Other versions: unaffected
- Vendor: Schweitzer Engineering Laboratories. Product: SEL-3350.
  - affected: `R148-V0 to before R150-V2` (custom)
  - affected: `R148-V0 to before R149-V4` (custom)
  - affected: `R148-V0 to before R148-V7` (custom)
  - Other versions: unaffected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 4.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L`, from CNA (SEL)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0044, the 38th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 10 May 2023. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2023-31158](https://www.cve.org/CVERecord?id=CVE-2023-31158)
- [NVD: CVE-2023-31158](https://nvd.nist.gov/vuln/detail/CVE-2023-31158)

### References from the CNA

- <https://selinc.com/support/security-notifications/external-reports/>
- <https://www.nozominetworks.com/blog/>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-31158>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-31158/>. Everything for agents: <https://agentprime.io/llms.txt>.
