<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-08T22:54:55.330322+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-31815</id>
    <title>CVE-2026-31815 — django-unicorn affected by component state manipulation via unvalidated attribute access</title>
    <updated>2026-10-08T22:54:55.331978+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> django-commons django-unicorn</p>
<p>Unicorn adds modern reactive component functionality to your Django templates. Prior to 0.67.0, component state manipulation is possible in django-unicorn due to missing access control checks during property updates and method calls. An attacker can bypass the intended _is_public protection to modify internal attributes such as template_name or trigger protected methods. This vulnerability is fixed in 0.67.0.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-31815"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-ffv6-jj46-x367</id>
    <title>GHSA-ffv6-jj46-x367 — django-unicorn affected by component state manipulation via unvalidated attribute access</title>
    <updated>2026-10-08T22:54:55.332034+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: django-unicorn</p>
<p>## Summary
Component state manipulation is possible in `django-unicorn` due to missing access control checks during property updates and method calls. An attacker can bypass the intended `_is_public` protection to modify internal attributes such as `template_name` or trigger protected methods.</p>
<p>## Vulnerability Details: Component Access Control Bypass
Security analysis identified that the framework fails to enforce visibility boundaries defined by `_is_public` within the action parsers. Specifically, the logic in `set_property_value()` and `_call_method_name()` utilizes `getattr` and `setattr` directly on component instances without verifying if the target attribute or method is explicitly marked as public.</p>
<p>Vulnerability resides in:
- `src/django_unicorn/views/action_parsers/call_method.py`
- `src/django_unicorn/views/action_parsers/utils.py`</p>
<p>While Django's template engine restricts rendering to registered directories, an unauthorized user can still force a component to render sensitive templates (e.g., admin layouts) from other installed applications or reset the component state by invoking the internal `reset()` method.</p>
<p>## Proof of Concept (PoC)
Attacker can overwrite the `template_name` attribute by sending a crafted JSON payload to the message endpoint:</p>
<p>1. Construct a payload targeting a protected attribute:
   ```json
   {
     "actionQueue": [
       {
         "type": "syncInput",
         "payload": { "name": "template_name", "value": "admin/base.html" }
       }…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-ffv6-jj46-x367"/>
  </entry>
</feed>
