AUGUST 4, 2026
Live Feed
Back to database
Case File

CVE-2026-31859

MEDIUM · CVSS 6.1 EPSS 0.18% Public Exploit

Source: NVD + CISA KEV + EPSS (historical backfill) · Published 2026-03-11 · Last synced 2026-08-04

CyberRota Analysis

This is a medium severity vulnerability with a CVSS score of 6.1. It affects Java. Public exploit code or proof-of-concept references have been detected in its references.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-31859
Severity
MEDIUM
CVSS
6.1
EPSS
0.18%
Java

Original NVD Description

Craft is a content management system (CMS). The fix for CVE-2025-35939 in craftcms/cms introduced a strip_tags() call in src/web/User.php to sanitize return URLs before they are stored in the session. However, strip_tags() only removes HTML tags (angle brackets) -- it does not inspect or filter URL schemes. Payloads like javascript:alert(document.cookie) contain no HTML tags and pass through strip_tags() completely unmodified, enabling reflected XSS when the return URL is rendered in an href attribute. This vulnerability is fixed in 5.9.7 and 4.17.3.

Related CVEs

Other vulnerabilities affecting the same vendor(s)