# CVE-2026-123364: OctoPrint: Stored XSS via saved connection parameters

- **Severity:** LOW 2.4
- **CVSS:** 2.4 (v4.0, GitHub) `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Passive; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: Low; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.39% (percentile 24, 2026-11-28)
- **CWE:** CWE-79
- **Aliases:** GHSA-p623-mxf7-qxjm
- **Published:** 2026-11-10T15:57:29.000Z
- **Modified:** 2026-11-10T15:57:30.000Z

## Who should check

- Projects that depend on PyPI package OctoPrint (\>= 2.0.0rc1, \<= 2.0.0rc6)

## Description

\#\# Impact

OctoPrint versions 2.0.0rc1 up until version 2.0.0rc6 are susceptible to cross-site scripting via a specially crafted default \`port\` or \`baudrate\` setting on the bundled Serial Connector plugin, supplied via the API as new defaults during a \`connect\` request.

\#\# Patches

The vulnerability is patched in 2.0.0rc7.

\#\# Workaround

Check \`config.yaml\` for Javascript fragments in \`printerConnection.preferred.parameters.port\` or \`printerConnection.preferred.parameters.baudrate\`. If found, remove them. You can check who of your users had access to your instance since you flashed 2.0.0rc1 or above via \`auth.log\`. 

\#\# Credits

This vulnerability was discovered and responsibly disclosed to OctoPrint by "mahn-don".

\#\# Timeline

2026-10-14: Report received
2026-10-14: Report acknowledged
2026-10-14: Report verified
2026-10-14: Fix ready for 2.0.0rc7
2026-10-20: CVE requested

## Affected and fixed versions

- PyPI `OctoPrint`: affected \>= 2.0.0rc1, \<= 2.0.0rc6; fixed 2.0.0rc7 (ghsa)

## Technologies

PyPI packages

## Mitigation

- Upgrade OctoPrint to 2.0.0rc7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-123364. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-123364.md
Affected: OctoPrint >= 2.0.0rc1, <= 2.0.0rc6
Fixed in: 2.0.0rc7

Steps:
1. Search this machine and project for OctoPrint (PyPI): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-123364 being exploited?

There is no confirmed exploitation: CVE-2026-123364 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-123364?

Low: CVSS 2.4 (v4.0, scored by GitHub). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-123364?

OctoPrint \>= 2.0.0rc1, \<= 2.0.0rc6.

### Is there a fix for CVE-2026-123364?

Yes. Fixed in 2.0.0rc7. Upgrade OctoPrint to 2.0.0rc7 or later.

### How do I check if I'm affected by CVE-2026-123364?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-p623-mxf7-qxjm>
- patch: <https://github.com/OctoPrint/OctoPrint/commit/059495787a1086868a28ba9eca8d089729242646>
- other: <https://nvd.nist.gov/vuln/detail/CVE-2026-123364>
- other: <https://github.com/OctoPrint/OctoPrint/releases/tag/2.0.0rc7>
- other: <https://github.com/advisories/GHSA-p623-mxf7-qxjm>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-p623-mxf7-qxjm> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-123364> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-123364>
