BIT-mediawiki-2022-34911

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/mediawiki/BIT-mediawiki-2022-34911.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-mediawiki-2022-34911
Aliases
Published
2024-03-06T11:04:48.292Z
Modified
2024-03-06T11:25:28.861Z
Summary
[none]
Details

An issue was discovered in MediaWiki before 1.35.7, 1.36.x and 1.37.x before 1.37.3, and 1.38.x before 1.38.1. XSS can occur in configurations that allow a JavaScript payload in a username. After account creation, when it sets the page title to "Welcome" followed by the username, the username is not escaped: SpecialCreateAccount::successfulAction() calls ::showSuccessPage() with a message as second parameter, and OutputPage::setPageTitle() uses text().

Database specific
{
    "cpes": [
        "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:mediawiki:mediawiki:1.38.0:-:*:*:*:*:*:*",
        "cpe:2.3:a:mediawiki:mediawiki:1.38.0:rc0:*:*:*:*:*:*",
        "cpe:2.3:a:mediawiki:mediawiki:1.38.0:rc1:*:*:*:*:*:*"
    ],
    "severity": "Medium"
}
References

Affected packages

Bitnami / mediawiki

Package

Name
mediawiki
Purl
pkg:bitnami/mediawiki

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

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.35.7
Introduced
1.36.0
Fixed
1.37.3
Type
SEMVER
Events
Introduced
1.38.0
Last affected
1.38.0
Introduced
1.38.0-rc0
Last affected
1.38.0-rc0
Introduced
1.38.0-rc1
Last affected
1.38.0-rc1