Cross-site Request Forgery (CSRF) Affecting showdoc/showdoc package, versions <2.9.13


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SHOWDOCSHOWDOC-1933126
  • published1 Dec 2021
  • disclosed1 Dec 2021
  • creditChau Minh Khanh

Introduced: 1 Dec 2021

CVE-2021-4017  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade showdoc/showdoc to version 2.9.13 or higher.

Overview

showdoc/showdoc is a tool for an IT team to share documents online.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via an iframe or an HTML file which are sent to the victim. An attacker is able to create a new group for any item if users visit the attacker's website. Also, the user-id uid is exposed via the JSON response.

References

CVSS Scores

version 3.1