Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2025-60869

HIGH · 7.3 CVSS v3.1 Published 2025-10-10
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
77/100
Remediation priority · High
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
Publii CMS v0.46.5 (build 17089) allows persistent Cross-Site Scripting (XSS) via unsanitized input in configuration fields such as "Site Description" and "Footer Follow Buttons". An attacker can inject arbitrary JavaScript, which is stored in the project and executed in the browsers of remote visitors viewing the generated static site.

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

Publii CMS v0.46.5 contains a stored XSS vulnerability where unsanitized input in configuration fields (Site Description, Footer Follow Buttons) is rendered without proper encoding on generated static pages, allowing attackers to inject and persist arbitrary JavaScript that executes in visitors' browsers.

MitigationImplement input validation and output encoding for all configuration fields before storing and rendering content on generated static pages.

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
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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

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. Identify if Publii CMS is in use
    Look for Publii installation directories or check server content for Publii-generated static HTML files; Publii typically creates a /input directory with app files and an /output directory with generated static pages.
    Affected if Publii CMS is present on the system
  2. Determine the installed Publii version
    Check the app's version file, package.json in the Publii installation directory, or the About section in the Publii admin panel.
    Affected if The installed version is exactly v0.46.5 or falls within the affected range around this version
  3. Locate the Site Description configuration
    Access Publii app settings, usually under Settings > Site > Basic Information, or inspect the site-config.json file in the Publii data directory for the 'siteDescription' field.
    Affected if The Site Description field contains HTML or script tags that would execute if rendered unencoded
  4. Locate the Footer Follow Buttons configuration
    Access Publii app settings under Appearance > Footer or similar, or inspect the theme configuration files for Footer Follow Button settings.
    Affected if The Footer Follow Buttons configuration contains raw HTML or JavaScript that is not escaped
  5. Inspect generated static HTML output
    Open the generated static pages in the /output directory and view the page source; search for the Site Description and Footer Follow Button content to see if special characters like <, >, & are rendered as literal entities or as raw characters.
    Affected if The generated HTML shows unencoded content (e.g., <script> appears as <script> rather than &lt;script&gt;)
  6. Verify if the XSS payload is persisted and renderable
    Load the generated static page in a browser or parse the HTML to confirm that injected script tags or event handlers are present and executable in the page source.
    Affected if Injected JavaScript code is present and executable in the static HTML output

A user is affected if they run Publii CMS v0.46.5 and have entered unsanitized HTML/JavaScript in the Site Description or Footer Follow Buttons configuration fields, which then appears unencoded in their generated static pages.

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

Implement input validation and output encoding for all configuration fields before storing and rendering content on generated static pages.

Recommended fix Moderate confidence

Latest stable release of Publii CMS (version higher than v0.46.5)

  1. 1. Backup your current Publii CMS project before making any changes
  2. 2. Download the latest stable version of Publii CMS from the official website (getpublii.com) or GitHub repository
  3. 3. Upgrade your Publii installation to the latest version available
  4. 4. After upgrading, regenerate all static site files to ensure no malicious scripts remain cached
  5. 5. Verify that the 'Site Description' and 'Footer Follow Buttons' fields now properly sanitize input
  6. 6. Test the generated site in a staging environment to confirm the XSS vulnerability is remediated

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

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get help mitigating

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-60869 — 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-60869 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