CVE-2026-134828
published medium CVSS 4.0 · 5.1Penpot 2.18.0 before 2.19.1 Stored XSS via SVG Sanitizer Re-serialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Penpot | — | Penpot2.18.0 to < 2.19.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
Penpot 2.18.0 before 2.19.1 contains a stored cross-site scripting vulnerability in the sanitize-svg function that allows authenticated users to bypass filtering through unescaped re-serialization. Attackers with file edit permission can upload SVGs using entity-encoded or CDATA-wrapped markup or attribute quote breakouts to execute JavaScript in the Penpot origin when victims open them.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Penpot | Penpot | 2.18.0 to < 2.19.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://github.com/penpot/penpot/blob/2.19.0/backend/src/app/media/svg.clj#L97-L106
- https://github.com/penpot/penpot/commit/4874da450f1e1f055e44109ef451ef0452f0bcea
- https://github.com/penpot/penpot/pull/12887
- Penpot 2.19.1 Release Notes https://github.com/penpot/penpot/releases/tag/2.19.1
- GitHub Security Advisory (GHSA-qwhj-rchj-58mg) https://github.com/penpot/penpot/security/advisories/GHSA-qwhj-rchj-58mg
- VulnCheck Advisory: Penpot 2.18.0 before 2.19.1 Stored XSS via SVG Sanitizer Re-serialization https://www.vulncheck.com/advisories/penpot-2.18.0-before-2.19.1-stored-xss-via-svg-sanitizer-re-serialization
Provider assertions
2VulnCheck · cna
Penpot 2.18.0 before 2.19.1 Stored XSS via SVG Sanitizer Re-serialization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2e346f6f0e313eaad6c8e408879f1ba785b8fee68d777d567e6580ef0e2919e4
- Ingested
- 23 Nov 2026, 14:22:08 UTC
- Source record
- Official CVE record