Script execution via unsanitized node HTML
Published Dec 17, 2022 · Updated Apr 15, 2025
Cross-site scripting in 1j01 mind-map allows remote authenticated users to execute script in another user's browser via crafted node HTML. The $node.content function in app.coffee sent string input directly to jQuery's html() sink without sanitization; the patch inserts DOMPurify before rendering. An attacker needs an account to supply node content, and a victim must render the affected collaborative mind map for script execution in that victim's browser.
Summary
What happened
Cross-site scripting in 1j01 mind-map allows remote authenticated users to execute script in another user's browser via crafted node HTML. The $node.content function in app.coffee sent string input directly to jQuery's html() sink without sanitization; the patch inserts DOMPurify before rendering. An attacker needs an account to supply node content, and a victim must render the affected collaborative mind map for script execution in that victim's browser.
The record
- CVE
- CVE-2022-4581
- Published
- Dec 17, 2022
- Updated
- Apr 15, 2025
- Vendor
- 1j01
- Product
- mind-map
- Classifications
- CWE-707, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 17, 2022CVE publishedPublication date reported by the CVE source.
- Apr 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=n/a
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo