GitHub Advisoryadvisory · Packagist

GHSA-v94v-pxqp-5qgj Cross-site Scripting in ShowDoc

MEDIUM Published 2022-03-16 Modified 2022-03-28 Official page ↗
Aliases
CVE-2022-0950
Ecosystem
Packagist
Packages
showdoc/showdoc
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-434, CWE-79
Reviewed
2022-03-28

Affected packages

• Packagist showdoc/showdoc: < 2.10.4 → fixed in 2.10.4

Description

The upload feature of ShowDoc prior to version 2.10.4 allows files with the extension `.*html`, which leads to stored cross-site scripting.

Related

Alias · CVE (1)

  • CVE-2022-0950 Unrestricted Upload of File with Dangerous Type in GitHub repository star7th/showdoc prior to 2.10.4. vulnerability

Weakness · CWE (2)

  • CWE-434 Unrestricted Upload of File with Dangerous Type weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References