LiveActive security incident?Get immediate response
CVE Record

CVE-2022-4957: librespeed speedtest stats.php cross site scripting

A vulnerability was found in librespeed speedtest up to 5.2.4. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the file results/stats.php. The manipulation of the argument id leads to cross site scripting. The attack can be launched remotely. Upgrading to version 5.2.5 is able to address this issue. The patch is named a85f2c086f3449dffa8fe2edb5e2ef3ee72dc0e9. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-246643.

MediumCVSS 4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

LibreSpeed speedtest versions 5.2.0 through 5.2.4 have a cross-site scripting issue in results/stats.php. An authenticated remote user could manipulate the id parameter and affect browser-side content integrity. This is not listed as actively exploited in KEV, and the cited sources identify version 5.2.5 as the fix.

Executive priority

Schedule remediation during the next normal web application patch window unless the affected service is broadly user-accessible or handles sensitive trust relationships. The issue is moderate because it affects browser-side integrity, requires authentication, and has a named fixed release.

Technical view

CVE-2022-4957 is CWE-79 in LibreSpeed speedtest results/stats.php, triggered through the id argument. The CVSS 2.0 vector is AV:N/AC:L/Au:S/C:N/I:P/A:N, indicating network access, low complexity, required authentication, partial integrity impact, and no confidentiality or availability impact.

Likely exposure

Exposure is limited to LibreSpeed speedtest deployments running versions 5.2.0, 5.2.1, 5.2.2, 5.2.3, or 5.2.4, especially where authenticated users can access results/stats.php.

Exploitation context

The source bundle says the attack can be launched remotely and requires authentication per the CVSS vector. No provided source states active exploitation, and the CVE is not marked KEV.

Researcher notes

Evidence identifies affected versions and a specific patched release, but the source bundle does not describe the exact vulnerable code path beyond results/stats.php and id. Avoid asserting exploit availability or unauthenticated reachability without additional evidence.

Mitigation direction

  • Upgrade LibreSpeed speedtest to version 5.2.5 or later.
  • Apply patch commit a85f2c086f3449dffa8fe2edb5e2ef3ee72dc0e9 if maintaining a pinned fork.
  • Confirm unsupported or modified deployments receive equivalent vendor-reviewed changes.
  • If upgrade timing is unclear, check current LibreSpeed vendor guidance before accepting risk.

Validation and detection

  • Inventory all LibreSpeed speedtest deployments and record installed versions.
  • Confirm whether affected deployments expose results/stats.php to authenticated users.
  • Verify fixed systems report version 5.2.5 or include the named patch commit.
  • Review application logs for unusual id parameter activity without replaying payloads.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-4957 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4 (2.0)
Known Exploited
No
Published

Vector: AV:N/AC:L/Au:S/C:N/I:P/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4CVSS 2.0MediumAV:N/AC:L/Au:S/C:N/I:P/A:N82.9Primary CVE score

Vulnerability scoring details

Base CVSS 2.0 score

4Medium
CVSS 2.0 vector shape for CVE-2022-4957Access VectorAccess ComplexityAuthenticationConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: AV:N/AC:L/Au:S/C:N/I:P/A:N

Access Vector
NetworkAdjacentLocal
Access Complexity
LowMediumHigh
Authentication
NoneSingleMultiple
Confidentiality Impact
CompletePartialNone
Integrity Impact
CompletePartialNone
Availability Impact
CompletePartialNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
librespeedspeedtest5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.