GHSA-p6qx-ghxm-389h

Suggest an improvement
Source
https://github.com/advisories/GHSA-p6qx-ghxm-389h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p6qx-ghxm-389h/GHSA-p6qx-ghxm-389h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p6qx-ghxm-389h
Aliases
  • CVE-2026-35163
Published
2026-06-23T17:15:14Z
Modified
2026-06-23T17:30:09.961516400Z
Severity
  • 4.6 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N CVSS Calculator
Summary
OctoPrint has XSS in its Suppressed Command Notifications
Details

Impact

OctoPrint versions up to and including 1.11.7 as well as 2.0.0rc1 and 2.0.0rc2 are affected by a vulnerability that allows injection of arbitrary HTML and JavaScript into Suppressed Command notifications popups generated by the printer.

An attacker who successfully convinces a victim to print a specially crafted file could exploit this issue to disrupt ongoing prints, extract information (including sensitive configuration settings, if the targeted user has the necessary permissions for that), or perform other actions on behalf of the targeted user within the OctoPrint instance.

Patches

The vulnerability has been patched in version 1.11.8 and 2.0.0rc3.

Workaround

OctoPrint administrators can mitigate the risk by disabling popups: - for Action Command notifications, set OctoPrint Settings -> Serial Connection -> Behaviour -> Sanity Checking -> Display notifications for suppressed commands to Never show notifications

It is also strongly recommended to ensure that files being printed originate from trusted sources, and, whenever possible, are sliced with an application's own slicer.

Credits

This vulnerability was discovered and responsibly disclosed to OctoPrint by Jacopo Tediosi.

Timeline

2026-03-18: Report received 2026-04-01: Report verified 2026-04-01: Fix ready for 2.0.0 2026-06-22: Fix backported to 1.11.x 2026-06-23: Fix released with 1.11.8 and 2.0.0rc3

Database specific
{
    "github_reviewed_at": "2026-06-23T17:15:14Z",
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-80"
    ],
    "github_reviewed": true,
    "nvd_published_at": null
}
References

Affected packages

PyPI / octoprint

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.8

Affected versions

1.*
1.3.11
1.3.12rc1
1.3.12rc3
1.3.12
1.4.0rc1
1.4.0rc2
1.4.0rc3
1.4.0rc4
1.4.0rc5
1.4.0rc6
1.4.0
1.4.1rc1
1.4.1rc2
1.4.1rc3
1.4.1rc4
1.4.1
1.4.2
1.5.0rc1
1.5.0rc2
1.5.0rc3
1.5.0
1.5.1
1.5.2
1.5.3
1.6.0rc1
1.6.0rc2
1.6.0rc3
1.6.0
1.6.1
1.7.0rc1
1.7.0rc2
1.7.0rc3
1.7.0
1.7.1
1.7.2
1.7.3
1.8.0rc1
1.8.0rc2
1.8.0rc3
1.8.0rc4
1.8.0rc5
1.8.0
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6
1.8.7
1.9.0rc1
1.9.0rc2
1.9.0rc3
1.9.0rc4
1.9.0rc5
1.9.0rc6
1.9.0
1.9.1
1.9.2
1.9.3
1.10.0rc1
1.10.0rc2
1.10.0rc3
1.10.0rc4
1.10.0
1.10.1
1.10.2
1.10.3
1.11.0rc1
1.11.0rc2
1.11.0rc3
1.11.0rc4
1.11.0rc5
1.11.0rc6
1.11.0rc7
1.11.0
1.11.1
1.11.2
1.11.3
1.11.4
1.11.5
1.11.6
1.11.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p6qx-ghxm-389h/GHSA-p6qx-ghxm-389h.json"
last_known_affected_version_range
"<= 1.11.7"

PyPI / octoprint

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0rc1
Fixed
2.0.0rc3

Affected versions

2.*
2.0.0rc1
2.0.0rc2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p6qx-ghxm-389h/GHSA-p6qx-ghxm-389h.json"
last_known_affected_version_range
"<= 2.0.0rc2"