Description
webpy web.py 0.76 is vulnerable to Cross Site Scripting (XSS) via render_jinja.__init__().
Published: 2026-09-22
Score: n/a
EPSS: n/a
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 not available and the vulnerability is not listed in the CISA KEV catalog, so exploitation probability cannot be quantified. 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 is not supplied, but the impact of injecting arbitrary script can be substantial if user accounts are compromised. 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 22, 2026 at 16:55 UTC.

Remediation

No vendor fix or workaround currently provided.

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 22, 2026 at 16:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-22T15:23:15.855Z

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

Link: CVE-2026-79311

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-79311

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T17:00:12Z

Weaknesses
  • CWE-79

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