CVE-2025-65754: Github.com/xyproto/algernon Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-8jqm-8qm3-qgqm
CWE-79
Published
Advisory Summary

CVE-2025-65754 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github.com/xyproto/algernon libraries in the Go ecosystem. The issue involves algernon cross-site scripting vulnerability. Remediation is available by upgrading affected packages to version 1.17.5.

CVE-2025-65754 at a Glance

CVE Identifier CVE-2025-65754
GHSA Identifier GHSA-8jqm-8qm3-qgqm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Github.com/xyproto/algernon
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-65754

To remediate this vulnerability, upgrade all affected Github.com/xyproto/algernon dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/xyproto/algernon fixed: 1.17.5
Upgrade github.com/xyproto/algernon to 1.17.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/xyproto/algernon

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-65754, inspect your project dependencies for Github.com/xyproto/algernon:

inspect dependencies for github.com/xyproto/algernon

Analyze the terminal output to locate any version of Github.com/xyproto/algernon in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.17.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Github.com/xyproto/algernon, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Cross-site Scripting vulnerability in Algernon v1.17.4 allows attackers to execute arbitrary code via injecting a crafted payload into a filename.

CVE-2025-65754 Affected Github.com/xyproto/algernon Versions

1 component(s)
Fixed Versions:
1.17.5
Product / Package Ecosystem Affected Versions Fixed Version
github.com/xyproto/algernon
Go
< 1.17.5
1.17.5

References

Frequently Asked Questions

What is CVE-2025-65754?
CVE-2025-65754 is a security vulnerability in Github.com/xyproto/algernon involving Algernon Cross-Site Scripting vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Github.com/xyproto/algernon versions are affected?
Affected versions include releases prior to 1.17.5 across affected packages: github.com/xyproto/algernon.
What version fixes CVE-2025-65754?
Upgrading to 1.17.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/xyproto/algernon affected?
Yes, github.com/xyproto/algernon is affected in releases prior to 1.17.5. Upgrade your dependency to 1.17.5 or later.
What CWE is associated with CVE-2025-65754?
CVE-2025-65754 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Go dependencies for CVE-2025-65754?
Run the dependency tree command: 'inspect dependencies for github.com/xyproto/algernon'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8jqm-8qm3-qgqm",
  "modified" : "2025-12-18T01:04:07Z",
  "published" : "2025-12-10T18:30:27Z",
  "aliases" : [ "CVE-2025-65754" ],
  "summary" : "Algernon Cross-Site Scripting vulnerability",
  "details" : "Cross-site Scripting vulnerability in Algernon v1.17.4 allows attackers to execute arbitrary code via injecting a crafted payload into a filename.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/xyproto/algernon"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.17.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-65754"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xyproto/algernon/commit/cd8832014a624a9aeab60566434c3344135e23f8"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/Bnyt7/0faa90ff93c5d98093a0e29a1eb34d81"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Bnyt7/CVE-2025-65754"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xyproto/algernon"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-10T20:20:31Z",
    "nvd_published_at" : "2025-12-10T18:16:21Z"
  }
}