GHSA-59xw-qv23-j3rc
Semantic MediaWiki has reflected XSS in `Special:SearchByProperty` (`property` and `value` parameters)
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | mediawiki/semantic-media-wiki | < 7.2.0 | 7.2.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
#### Failure mode
The `value` parameter was reflected back into rendered output and error messaging paths without enough output-context encoding.
#### Remediation
- The form value is escaped before it is placed back into the input field.
- Derived error messages are also escaped before being rendered into HTML.
#### Maintenance note
Do not treat error text as trusted just because it originated from validation. Validation output can still be attacker-influenced.
References
External links from the advisory. They lead to third-party sites.