Description
webpy web.py 0.76 is vulnerable to Cross Site Scripting (XSS) via render_jinja.__init__().
Published: 2026-09-22
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting (XSS) affecting client‑side script execution.
Action: Apply Patches
AI Analysis

Impact

The vulnerability is a reflected Cross‑Site Scripting flaw that occurs when the render_jinja.__init__() function of Web.py version 0.76 processes untrusted input without proper encoding. An attacker can embed arbitrary JavaScript that will run in the browsers of users who view a page rendered by that function. Depending on site design, this can lead to session hijacking, theft of credentials, defacement, or the delivery of phishing content, but it does not provide direct remote code execution on the server.

Affected Systems

The flaw is present in the Web.py 0.76 web framework when the render_jinja component is used. Any web application that incorporates Web.py 0.76 and relies on render_jinja.__init__() for template rendering is affected. No other product versions are listed as vulnerable.

Risk and Exploitability

The EPSS score is < 1%, indicating a low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. However, XSS vulnerabilities generally require user interaction or an infected link and are considered moderate to high risk for sites that expose untrusted data to users. The CVSS score of 6.1 indicates moderate severity for this XSS vulnerability. Attackers could exploit the flaw by delivering malicious URLs or posting crafted content that includes the vulnerable render call.

Generated by OpenCVE AI on September 26, 2026 at 06:02 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Web.py to a version where render_jinja.__init__() is fixed; refer to the project release notes for a fixed version.
  • Restrict the data passed to render_jinja by validating or sanitizing it to remove or escape JavaScript or HTML special characters. Implement input filtering on all user‑supplied fields that end up in templates.
  • Deploy a Content‑Security Policy header that limits the sources of executable script and blocks inline JavaScript to mitigate the impact if an XSS payload is delivered.

Generated by OpenCVE AI on September 26, 2026 at 06:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Title Cross‑Site Scripting in Web.py 0.76 render_jinja Initialization python-webpy: webpy: Missing autoescape in render_jinja leads to Cross-Site Scripting (XSS)
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

threat_severity

Moderate


Tue, 22 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Webpy
Webpy webpy
Vendors & Products Webpy
Webpy webpy

Tue, 22 Sep 2026 17:15:00 +0000

Type Values Removed Values Added
Title Cross‑Site Scripting in Web.py 0.76 render_jinja Initialization
Weaknesses CWE-79

Tue, 22 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Description webpy web.py 0.76 is vulnerable to Cross Site Scripting (XSS) via render_jinja.__init__().
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-06T17:43:15.773Z

Reserved: 2026-08-25T00:00:00.000Z

Link: CVE-2026-79311

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-22T16:17:56.513

Modified: 2026-10-06T18:16:56.683

Link: CVE-2026-79311

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-22T00:00:00Z

Links: CVE-2026-79311 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T06:15:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')