CVE-2025-35996
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 · uneditedKUNBUS 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 confidenceKUNBUS 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Determine installed PiCtory versionLocate 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.
-
Identify accessible API endpointsReview 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.
-
Inspect existing configuration filenamesAccess 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.
-
Test filename rendering in UIUsing 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.
-
Check for Content Security Policy headersInspect 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.
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 · scopedUpgrade 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.
Latest version available in packages.revolutionpi.de repository (newer than 2.11.1)
- Check the current installed version of PiCtory: dpkg -l | grep pictory or rpm -q pictory
- Access the packages.revolutionpi.de repository to identify available versions
- 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)
- After upgrade, verify the new version: dpkg -l | grep pictory or rpm -q pictory
- Test that configuration file uploads and displays work correctly without XSS execution
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA3.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-35996 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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