7.2

CVE-2022-25277: drupal core

Modified
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 73.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
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 listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

74%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.42% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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