Cross-site Scripting The advisory has been revoked - it doesn't affect any version of package getgrav/grav  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1% (58th 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 Scripting vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GETGRAVGRAV-6241884
  • published12 Feb 2024
  • disclosed9 Feb 2024
  • creditUnknown

Introduced: 9 Feb 2024

CVE-2023-31506  (opens in a new tab)
CWE-79  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

getgrav/grav is a Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS.

Affected versions of this package are vulnerable to Cross-site Scripting in the form fields. A remote and authenticated attacker, would manage to inject malicious JavaScript code, to be executed on the users or administrators of the application when accessing the article or another area of the application.

Note: To exploit this vulnerability, the attacker needs to be authenticated with a user with editor or publisher access.

XSS Checks feature documentation.

PoC

<isindex x="javascript:" onmouseover="alert('m3n0sd0n4ld')">

References