CWE-97Weakness · CWE-97

CVE-2025-35996

CRITICAL · 9.0 CVSS v3.1 Published 2025-05-01
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
94/100
Remediation priority · Urgent
Remotely reachable

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
KUNBUS PiCtory version 2.11.1 and earlier are vulnerable when an authenticated remote attacker crafts a special filename that can be stored by API endpoints. That filename is later transmitted to the client in order to show a list of configuration files. Due to a missing escape or sanitization, the filename could be executed as HTML script tag resulting in a cross-site-scripting attack.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

KUNBUS PiCtory versions 2.11.1 and earlier contain a stored cross-site-scripting (XSS) vulnerability. An authenticated remote attacker can craft a malicious filename containing HTML script tags and store it through API endpoints. When other users view configuration file listings, the unsanitized filename is rendered in the HTTP response without proper escape or sanitization, causing the embedded script to execute in victims' browsers.

MitigationUpgrade to a version newer than 2.11.1 that implements proper output encoding/sanitization of filenames before rendering in the UI. As a compensating control, restrict API access to trusted users and implement Content Security Policy headers.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Determine installed PiCtory version
    Locate the PiCtory application or service and retrieve its version information (typically via about page, service banner, or package metadata). Compare this version to the affected range: 2.11.1 and earlier.
    Affected if The installed version is 2.11.1 or earlier.
  2. Identify accessible API endpoints
    Review PiCtory documentation or enumerate exposed HTTP endpoints related to configuration file upload, creation, or management. Focus on endpoints that accept filenames as input.
    Affected if API endpoints for file operations are accessible without additional authentication beyond basic login.
  3. Inspect existing configuration filenames
    Access the configuration file storage area (commonly a dedicated config or projects directory). List all filenames and examine them for the presence of HTML tags, script keywords, or unusual encoding patterns.
    Affected if Any stored filename contains raw HTML script tags or unsanitized JavaScript event handlers.
  4. Test filename rendering in UI
    Using a test account, navigate to the configuration file listing page. View the HTTP response or inspect the browser DOM to verify how filenames are rendered.
    Affected if Filenames are rendered directly in the HTML response without proper output encoding or sanitization.
  5. Check for Content Security Policy headers
    Inspect HTTP response headers from PiCtory web interface for Content-Security-Policy or X-Content-Security-Policy headers.
    Affected if No CSP headers are present, or CSP does not restrict script sources adequately.

You are affected if PiCtory version is 2.11.1 or earlier AND the web interface renders configuration filenames without sanitization, allowing stored XSS execution in other users' browsers.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to a version newer than 2.11.1 that implements proper output encoding/sanitization of filenames before rendering in the UI. As a compensating control, restrict API access to trusted users and implement Content Security Policy headers.

Recommended fix Moderate confidence

Latest version available in packages.revolutionpi.de repository (newer than 2.11.1)

  1. Check the current installed version of PiCtory: dpkg -l | grep pictory or rpm -q pictory
  2. Access the packages.revolutionpi.de repository to identify available versions
  3. Upgrade to the latest available version newer than 2.11.1: sudo apt-get update && sudo apt-get install pictory (for Debian-based) or sudo yum update pictory (for RHEL-based)
  4. After upgrade, verify the new version: dpkg -l | grep pictory or rpm -q pictory
  5. Test that configuration file uploads and displays work correctly without XSS execution
Caveat Review release notes for any configuration file format changes or API modifications between versions

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA3.0 h
19.0 hours of engineering $3,380
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,408.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-35996 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-35996 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data