GHSA-wcx3-63mm-h8x6

Suggest an improvement
Source
https://github.com/advisories/GHSA-wcx3-63mm-h8x6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-wcx3-63mm-h8x6/GHSA-wcx3-63mm-h8x6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wcx3-63mm-h8x6
Aliases
Published
2024-05-05T21:30:30Z
Modified
2025-06-12T06:56:57.217896Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
MediaWiki UnlinkedWikibase Cross-site Scripting vulnerability
Details

An issue was discovered in the UnlinkedWikibase extension in MediaWiki before 1.42.0. XSS can occur through an interface message. Error messages (in the $err var) are not escaped before being passed to Html::rawElement() in the getError() function in the Hooks class.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2024-12-04T22:46:01Z",
    "nvd_published_at": "2024-05-05T19:15:07Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE"
}
References

Affected packages

Packagist / samwilson/unlinked-wikibase

Package

Name
samwilson/unlinked-wikibase
Purl
pkg:composer/samwilson/unlinked-wikibase

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.42.0

Affected versions

1.*

1.0.0