Technical impact
This flaw allows a user who can edit a Semantic MediaWiki page to inject unescaped script into the output of Special:Ask when the ElasticStore backend is used. The vulnerable code does not escape the native_result and score_set values, so a malicious payload can be stored in a Text property or subobject name and later executed when a victim, even an administrator, visits a crafted Special:Ask link. Once executed, the attacker can steal session cookies, deface the site, or inject additional malicious content into the victim’s session.
Affected Systems
Semantic MediaWiki (SemanticMediaWiki) versions 3.0.0 through 7.4.0 that use the ElasticStore backend are affected. The issue is fixed in release 7.4.1 and all later versions, so any installation running a pre‑7.4.1 release should be upgraded.
Risk and Exploitability
The CVSS score of 5.1 indicates a medium severity. EPSS is reported as less than 1 %, implying a low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to first create the vulnerable content via edit rights and then entice a target to follow a malicious Special:Ask link. Because the impact is client‑side and relies on user interaction, the risk level remains moderate but can be serious if an administrator’s session is hijacked.