CVE-2025-65754: Github.com/xyproto/algernon Cross-Site Scripting Vulnerability
MODERATECVE-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
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.
Upgrade github.com/xyproto/algernon to 1.17.5
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
CVE-2025-65754 Affected Github.com/xyproto/algernon Versions
1 component(s)| 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?
Which Github.com/xyproto/algernon versions are affected?
What version fixes CVE-2025-65754?
Is github.com/xyproto/algernon affected?
What CWE is associated with CVE-2025-65754?
How can I check Go dependencies for CVE-2025-65754?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}