SemanticMediaWiki 3.1.0 before 7.3.1 Reflected XSS via Special:Search smw Profile
Impact
SemanticMediaWiki from 3.1.0 before 7.3.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject markup through the search parameter of the extended Special:Search profile. Attackers can send visitors crafted URLs using the smw profile with SVG event handlers, which ProfileForm::profile_sheet inserts unescaped into a pre element, executing script in the wiki origin.
Source excerpt · VulnCheckAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
SemanticMediaWiki · SemanticMediaWiki
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 3.1.0 to before 7.3.1 | affected |
| 7.3.1 | unaffected |
Original source description
SemanticMediaWiki from 3.1.0 before 7.3.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject markup through the search parameter of the extended Special:Search profile. Attackers can send visitors crafted URLs using the smw profile with SVG event handlers, which ProfileForm::profile_sheet inserts unescaped into a pre element, executing script in the wiki origin.
References
- Security advisory github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-375v-wx2r-4598
- Patch github.com/SemanticMediaWiki/SemanticMediaWiki/commit/a77e592320707499769c9386a33d97bc966d9418
- Security advisory www.vulncheck.com/advisories/semanticmediawiki-3.1.0-before-7.3.1-reflected-xss-via-special-search-smw-profile