Grav before 2.0.13 Stored XSS via quoted-attribute bypass
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| getgrav | grav | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Getgrav | Grav |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-269c-h76q-8cxw | Grav: Stored XSS via quoted-attribute bypass in detectXss |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.314% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Grav before 2.0.12 Stored XSS via quoted-attribute bypass | Grav before 2.0.13 Stored XSS via quoted-attribute bypass |
| CPEs | cpe:2.3:a:getgrav:grav:1.7.53.1:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:1.7.53.2:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:1.7.53:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:-:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc10:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc6:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc7:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc8:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc9:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.10:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.1:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.2:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.3:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.4:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.5:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.6:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.7:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.8:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.9:*:*:*:*:*:*:* |
cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Grav versions from 1.5.2 through 2.0.12 contain a stored cross-site scripting vulnerability in the Security::detectXss() function (system/src/Grav/Common/Security.php). The event-handler scan is anchored at `<` and uses `[^>]*?`, which cannot cross the first literal `>`; when a `>` appears inside a quoted attribute value the browser keeps the tag open and parses a subsequent event handler (e.g. onerror), so the detector and browser disagree. A page editor without admin.super privileges can save page content such as `<img src=x title=">" onerror=alert(document.domain)>`, which is accepted, stored, and executed in the site origin when any visitor (including unauthenticated users) views the page. Fixed in 2.0.13. | |
| Title | Grav before 2.0.12 Stored XSS via quoted-attribute bypass | |
| First Time appeared |
Getgrav
Getgrav grav |
|
| Weaknesses | CWE-79 | |
| CPEs | cpe:2.3:a:getgrav:grav:1.5.2:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:1.7.53.1:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:1.7.53.2:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:1.7.53:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:-:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc10:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc6:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc7:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc8:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.0:rc9:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.10:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.1:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.2:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.3:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.4:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.5:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.6:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.7:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.8:*:*:*:*:*:*:* cpe:2.3:a:getgrav:grav:2.0.9:*:*:*:*:*:*:* |
|
| Vendors & Products |
Getgrav
Getgrav grav |
|
| References |
| |
| Metrics |
cvssV3_1
|