GHSA-qrfj-mgw8-j9c6

Suggest an improvement
Source
https://github.com/advisories/GHSA-qrfj-mgw8-j9c6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-qrfj-mgw8-j9c6/GHSA-qrfj-mgw8-j9c6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qrfj-mgw8-j9c6
Aliases
Published
2026-09-17T20:32:47Z
Modified
2026-09-17T20:45:07Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
@platejs/core HTML deserialization can trigger browser behavior during parsing
Details

Summary

HTML strings passed to Plate's core deserialization APIs were parsed in the active document. Certain HTML attributes could therefore trigger browser behavior during parsing, before the content was converted into editor nodes.

Applications that deserialize HTML from untrusted or cross-user sources may be affected.

Impact

An attacker who can control HTML later deserialized in another user's browser may be able to execute script in that application's origin.

Remediation

Upgrade to @platejs/core 53.3.11 or later. Users of the discontinued 54.0.0 beta builds should install the fixed stable line. Applications should also sanitize untrusted HTML before rendering it; inert parsing is not a substitute for sanitization.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-17T20:32:47Z",
    "nvd_published_at": "2026-09-16T15:18:05Z",
    "severity": "MODERATE"
}
References

Affected packages

npm / @platejs/core

Package

Name
@platejs/core
View open source insights on deps.dev
Purl
pkg:npm/%40platejs/core

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
53.3.11

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-qrfj-mgw8-j9c6/GHSA-qrfj-mgw8-j9c6.json"

npm / @platejs/core

Package

Name
@platejs/core
View open source insights on deps.dev
Purl
pkg:npm/%40platejs/core

Affected ranges

Type
SEMVER
Events
Introduced
54.0.0-beta.0
Last Affected
54.0.0-beta.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-qrfj-mgw8-j9c6/GHSA-qrfj-mgw8-j9c6.json"