7.2

CVE-2022-25277: drupal core

CVSS: 7.2v3.1HighModified
AliasesUBUNTU-CVE-2022-25277
Published 26-04-2023Last modified 03-02-2025

Vulnerability summary

CVE-2022-25277 is a high (CVSS 7.2) vulnerability in drupal core. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 72.4% of scored vulnerabilities.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.2/10
010
High · v3.1 (CVE.org)
EPSS score
1.42%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 26-04-2023
    PublishedVulnerability first disclosed.
  2. 03-02-2025
    Last modifiedVulnerability information updated.

Description

Drupal core sanitizes filenames with dangerous extensions upon upload (reference: SA-CORE-2020-012) and strips leading and trailing dots from filenames to prevent uploading server configuration files (reference: SA-CORE-2019-010). However, the protections for these two vulnerabilities previously did not work correctly together. As a result, if the site were configured to allow the upload of files with an htaccess extension, these files' filenames would not be properly sanitized. This could allow bypassing the protections provided by Drupal core's default .htaccess files and possible remote code execution on Apache web servers. This issue is mitigated by the fact that it requires a field administrator to explicitly configure a file field to allow htaccess as an extension (a restricted permission), or a contributed module or custom code that overrides allowed file uploads.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.42%

Chance of exploitation in the next 30 days

Percentile

72%

Versus all other CVEs

30-day change

0.00 pp

From 1.42% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.42%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Drupal2 products
  • core≥ 9.4, < 9.4.3 | ≥ 9.3, < 9.3.19
  • drupal≥ 8.0.0, < 9.3.19 | ≥ 9.4.0, < 9.4.3
Ubuntu1 product
  • drupal7All versions (No fix recorded)

2 vendors · 3 products

References

3 links