Stored script execution via unfiltered space tags
Published Nov 10, 2022 · Updated May 1, 2025
Stored cross-site scripting in mm-wiki 0.2.1 allows remote attackers to execute script in another user's browser via crafted space tags. The new-space POST handler accepts the tags field at /system/space/save and stores it without filtering HTML event-handler markup. Execution requires another user to view the saved space content, exposing or altering only data available to that user's browser session.
Summary
What happened
Stored cross-site scripting in mm-wiki 0.2.1 allows remote attackers to execute script in another user's browser via crafted space tags. The new-space POST handler accepts the tags field at /system/space/save and stores it without filtering HTML event-handler markup. Execution requires another user to view the saved space content, exposing or altering only data available to that user's browser session.
The record
- CVE
- CVE-2021-40289
- Published
- Nov 10, 2022
- Updated
- May 1, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-79, T1059.007
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 10, 2022CVE publishedPublication date reported by the CVE source.
- May 1, 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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.
Weakness, pattern, technique
Public exploit references
- Space-tag stored XSS proof of conceptproof of concept · demonstrated
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