- Description
- 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().
- Source
- cve@mitre.org
- NVD status
- Modified
CVSS 3.1
- Type
- Primary
- Base score
- 6.1
- Impact score
- 2.7
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Severity
- MEDIUM
CVSS 2.0
- Type
- Primary
- Base score
- 4.3
- Impact score
- 2.9
- Exploitability score
- 8.6
- Vector string
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- nvd@nist.gov
- CWE-79
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "27313BAD-E68E-4186-A17E-7A16671E734C",
"versionEndExcluding": "1.35.7"
},
{
"criteria": "cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CAB94CB4-1121-4840-B3B5-BE7D2BE7F62A",
"versionEndExcluding": "1.37.3",
"versionStartIncluding": "1.36.0"
},
{
"criteria": "cpe:2.3:a:mediawiki:mediawiki:1.38.0:-:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B110D8C5-7251-4CAF-B66D-73C891D6FBE8"
},
{
"criteria": "cpe:2.3:a:mediawiki:mediawiki:1.38.0:rc0:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FC165C86-E90B-4854-8CC1-14BF58D46B23"
},
{
"criteria": "cpe:2.3:a:mediawiki:mediawiki:1.38.0:rc1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B9682453-AA16-4681-A019-C13931293D62"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5C675112-476C-4D7C-BCB9-A2FB2D0BC9FD"
},
{
"criteria": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E30D0E6F-4AE8-4284-8716-991DFA48CC5D"
}
],
"operator": "OR"
}
]
}
]